GetSimple Support Forum
Echo current page Menu Text? - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Echo current page Menu Text? (/showthread.php?tid=3389)



Echo current page Menu Text? - tommy - 2012-07-30

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?


Echo current page Menu Text? - mvlcek - 2012-07-30

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')