OnPoint Plugins

  • Plugins
    • Advanced Sidebar Menu
    • Go Live Update Urls
  • About
    • Services
    • Showcase
  • Blog
  • Contact
  • Support
  • Log In
← Back to support

Only showing children of current page using Pro Navigation widget

Resolved

Requested: 3 years and 2 weeks ago

I just purchased a license Advanced Sidebar Menu PRO plugin.  I’m using the Navigation widget so that I can use my current primary menu as the items from the sidebar navigation menu.  Is there a way to only show child pages for the current page, and not child pages for all pages in the section of the site?

Plugin: Advanced Sidebar Menu

  1. OnPoint Plugins

    3 years and 2 weeks ago

    Hi Bill,

    If you check the “Display the current items’s parents only” option the menu will only display items related to the current page.

    Have a great night!

    Mat Lipe

  2. Bill Dailey

    3 years and 2 weeks ago

    That works to hide the siblings of the Parent page, but we are seeing all the children pages showing when any pages inside a section of the site.

    I have included more details in the Private section.

  3. OnPoint Plugins

    3 years and 2 weeks ago

    Hi Bill,

    You may limit the displayed levels to 2 when viewing the top level page by adding the following filter to your active theme’s functions.php file:

    1. To use this filter you must first update to the newly published version 3.11.0 of the PRO plugin.
    2. This works best when “Display the current items’s parents only” is checked (which you probably already have done).
    3. Version 3.11.0 is also smart enough to limit the menu items to just the parents and children of the current page when not on a top level page.

    Have a great night!

    Mat Lipe

     

  4. Bill Dailey

    3 years and 2 weeks ago

    Hi Mat,

    Thanks for the quick turn around – your support has been amazing so far! I updated the plugin and added the filter, but it’s not quite what I’m looking to do.  I do want it to only show children of the current page, but also siblings of the current page (and back up to parent).  I put additional details in the private section.

  5. OnPoint Plugins

    3 years and 2 weeks ago

    Hi Bill,

    If you update to newly released version 3.11.1 of PRO and remove the previous filter in favor of this one, it should do what you are looking for.

    Have a great day!

    Mat Lipe

  6. Bill Dailey

    3 years and 1 week ago

    Hi Mat,

    That’s amazing.  Thanks for the plugin update and filter code.  I think that will work well.

    Have a great weekend!

    Bill

New Response Cancel reply

You must be logged in to respond. Only PRO members are allowed to respond to support requests.

© 2023 · WordPress Development · Terms Of Service · Privacy Policy · Cookie Policy · Log in

  • Plugins
  • Blog
  • Contact