2015-08-31, 03:26:53
(2015-08-30, 08:42:30)vallhund Wrote:(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.
Thank you - that's the solution I was looking for. Will update the theme with doing this right tomorrow.