Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION Modify output of get_navigation
#3
(2015-08-30, 00:41:32)frixelsolutions Wrote: Please let me know how to do this in GetSimple, if it is even possible. Thank you!

In my one-page theme, I used the menu_data():


PHP Code:
$menu "";

foreach (
menu_data() as $page) {
  
$menu .= "<li class='".$page['slug']."'><a href='#'>".$page['menu_text']."</a></li>";
}

echo 
$menu


Quite useful and easy.
Reply


Messages In This Thread
RE: Modify output of get_navigation - by shawn_a - 2015-08-30, 03:36:18
RE: Modify output of get_navigation - by vallhund - 2015-08-30, 08:42:30



Users browsing this thread: 1 Guest(s)