Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Echo current page Menu Text?
#1
i can do it with the GS3.1+ echoPageField($page,'menu') but that is to output menu text from other pages, how do i tell the code that $page is the current page since there is no template tag for get_page_menutext?
Reply
#2
tommy Wrote:i can do it with the GS3.1+ echoPageField($page,'menu') but that is to output menu text from other pages, how do i tell the code that $page is the current page since there is no template tag for get_page_menutext?

Code:
echoPageField(return_page_slug(),'menu')
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply




Users browsing this thread: 1 Guest(s)