Note

Description

Show only the current page name.

Source code

echo "Title = ";
show_menu2(0, SM2_CURR, SM2_CURR, SM2_ALL|SM2_PRETTY,
'[if(class==menu-current){ [menu_title] }]',
'', '', '');

Example results

Title = Show only current

Note

This is an example of conditional output only. This actual result is obtained easier and more efficiently using the PAGE_TITLE define.

Source code

echo "Title = ".PAGE_TITLE;

Example results

Title = Show only current
Powered by Website Baker