Time based navigation
-
Hi Ladies and Gentleman!
I guess there’s no (built in) function available for my problem, so I’ll ask you ??
I tried to develop a time based navigation menu.
f.e. I’m having one page for each weekday and on monday the menu-item of monday should be the first item in the menu’s list.So I wondered, if it’s possible to build a navigation with feeding a function with an array of page-id’s instead of custom menus… like
mySuperCoolMenu(array(5,6,7,8));
’cause I found no possibility to dynamically modify my custom menus I’ve created in WordPress.My final guess is to build a function which builds a menu while using
the_title()
andget_page_link()
.Maybe someone already came up with a solution for my issue and wanna share some code snippets or something ??
Thanks alot in advance
Daluxe
- The topic ‘Time based navigation’ is closed to new replies.