User Tools

Site Tools


themes:template_tags

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
themes:template_tags [2014/01/19 16:15]
datiswous [Echo / output functions]
themes:template_tags [2014/01/19 16:28]
datiswous [return_page_title()] h5 titles
Line 119: Line 119:
 This function outputs an array of menu specific data for developers to create their own menus instead of using the GS default ''​get_navigation()''​ function. If you pass it a slug of a specific page, you will only get that page's menu data.  This function outputs an array of menu specific data for developers to create their own menus instead of using the GS default ''​get_navigation()''​ function. If you pass it a slug of a specific page, you will only get that page's menu data. 
 ===== 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. ​
themes/template_tags.txt · Last modified: 2014/06/30 22:59 by shawn_a