site_link
Note
This tag replaces the old and ugly and hard to type linkToSite()
(which still works as of 2.3).
Description
Returns the URL to your site. Good for linking your logo to the homepage.
Usage
<?php
echo site_link();
?>
Examples
<a href="<?php echo site_link(); ?><img src="snazzy_logo.jpg" alt="In The Waiting Line" /></a>
-
FAQ
- What is the Page Type and how do I use it?
- How do I make blog pagination work?
- How can I make next/previous buttons to navigate my projects?
- How do I include Vimeo, YouTube, SoundCloud etc in my projects, pages, blog posts?
- How do I make excerpts for my blog posts? (Using the {more} tag)
- View all (2 more)
-
General Documentation
-
Themes
-
Code Documentation