Support » How-To and Troubleshooting » Paginating a Menu List Created in WordPress

Paginating a Menu List Created in WordPress

  • Hey guys,

    On the site I am working on, I reserved the blog functionality for a news section, so I need to find a solution to allegedly paginate pages, not posts for a portfolio submenu.

    I have the sub-menu created for 7 pages. I named each link 01,02,03 … etc. and the menu is called by wp_nav_menu( array( ‘menu’ => ‘Secondary Navigation’)).

    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 menu items/pages, but am not sure where I could go from there:

    Any thoughts on this?

  • The topic ‘Paginating a Menu List Created in WordPress’ is closed to new replies.