Support » Fixing WordPress » Multiple menus wp_nav and fallback to wp-list-pages

  • Hi !

    I’ve got a question about wp_nav. Now I’ve got 2 menus in my theme. And i made them with wp_nav and that works well.

    But I also want support for WP2 versions. But how can I give support to 2 navigation structures in WP2 as a fallback? Because wp-list-pages throws all navigation items in the output. And I don’t want to edit the code to set hardcoded page-id’s but it must be editable in the backend.

    Anyone that can help me out?

Viewing 1 replies (of 1 total)
  • esmi

    (@esmi)

    Forum Moderator

    Create a theme option that allows users to enter a comma-separated list of page ids that can then be fed into wp_list_pages exclude parameter.

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple menus wp_nav and fallback to wp-list-pages’ is closed to new replies.