Support » Plugin: Nested Pages » Passing Start Page Alias / ID to Menu

  • applejack1923

    (@applejack1923)


    In order to create sub menus and custom menus it would be great if you could pass a start page alias or id to the menu call so that it only showed that page and it’s children in the menu.

    If there is another way of doing this then it I would really appreciate it if anyone knows.

    https://wordpress.org/plugins/wp-nested-pages/

Viewing 3 replies - 1 through 3 (of 3 total)
  • applejack1923

    (@applejack1923)

    Additionally to also be abel to include the number of levels to show.

    Wouter

    (@woutergroenewold)

    This shouldn’t be a feature of the plugin but something you should accomplish with a custom walker. Since it uses the normal WordPress wp_nav_menu-function you can use the documentation to create a custom Walker-class:

    https://codex.wordpress.org/Class_Reference/Walker

    Sure one could do it that way but not sure if it would also recognise which pages in nested pages are selected to NOT show in menu. It would also be far simpler to implement than having to create a custom Walker.

    I’m used to using a different CMS where the menu system is far superior to WP whose menu system frankly sucks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Passing Start Page Alias / ID to Menu’ is closed to new replies.