User Tools

Site Tools


ru: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 Both sides next revision
ru:themes:template_tags [2013/09/17 07:26]
Arkady [Функции, возвращающие значение]
ru:themes:template_tags [2013/09/17 07:28]
Arkady [Функции вывода]
Line 33: Line 33:
   * **get_page_slug()** ​   * **get_page_slug()** ​
 <​code><?​php get_page_slug();​ ?></​code>​ <​code><?​php get_page_slug();​ ?></​code>​
-Echos the page'​s ​slug. Параметров нет. ​Example would be the word '​download' ​in the URL //​get-simple.info/​download//​. ​+Выводит на экран постоянную ссылку страницы (slug). Параметров нет. ​Напрмер,​ выведет на экран ​'​download' ​из URL страницы ​//​get-simple.info/​download//​.
    
   * **get_page_url()** ​   * **get_page_url()** ​
ru/themes/template_tags.txt · Last modified: 2014/11/09 01:12 by Byteler