jo3y - 6:23 pm on Dec 24, 2012 (gmt 0)
Was wondering if anyone had a script solution to this or thoughts:
On the site I am working on, I have to reserve the blog functionality for a news section, so I need to find a solution to allegedly paginate pages, not posts. I think my logic is sound, so bear with me ...
I have a sub-menu I created in Wordpress for 7 pages. I named each link 01,02,03 ... etc. and the menu is called by, let's say, wp_nav_menu( array( 'menu' => 'Secondary Navigation')) which outputs the menu as a string.
So, my goal is to make it appear as if it's paginated and use lessthan greaterthan for left and right navigation. No numbers in between, etc.
I was thinking of looping preg_match "1","2" etc. against the outputted string to get the total number of pages(menu items), then comparing the current page to the total, and setting the bracket links accordingly.
Any thoughts on this?