This shows you the differences between two versions of the page.
Both sides previous 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:25] datiswous [Return Functions] |
||
---|---|---|---|
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. | ||
- | ==return_site_ver()== | + | ===return_site_ver()=== |
<code><?php return_site_ver(); ?></code> | <code><?php return_site_ver(); ?></code> | ||
Returns the version of GetSimple you are running. No options. | Returns the version of GetSimple you are running. No options. |