This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
themes:template_tags [2014/01/19 16:25] datiswous [Return Functions] |
themes:template_tags [2014/01/19 16:27] datiswous [return_site_ver()] |
||
---|---|---|---|
Line 120: | Line 120: | ||
===== Return Functions ===== | ===== Return Functions ===== | ||
- | ==return_page_title()== | + | ====return_page_title()==== |
<code><?php return_page_title(); ?></code> | <code><?php return_page_title(); ?></code> | ||
Returns the page's title. No options, since 2.0 | Returns the page's title. No options, since 2.0 | ||
- | ==return_page_slug()== | + | ====return_page_slug()==== |
<code><?php return_page_slug(); ?></code> | <code><?php return_page_slug(); ?></code> | ||
Same as get_page_slug, but it returns the slug. No options. Can be used to make page-specific IDs for CSS styling. | Same as get_page_slug, but it returns the slug. No options. Can be used to make page-specific IDs for CSS styling. |