OnPoint Plugins

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

I want to only show current page with Children – No siblings

Resolved

Requested: 2 years and 6 months ago

I have three levels of menus that I use your plugin on, but on the last level (see example in private information) the plugin is showing the same information as the 2nd level. For the 3rd level I want to display the same as the other levels i.e. only the current page and it’s children. Currently the 3rd level is showing current page and its children and it’s siblings and all the children of the siblings. 

Plugin: Advanced Sidebar Menu

  1. OnPoint Plugins

    2 years and 6 months ago

    Hi Sandor,

    The built in widget functionality to “Display the current page’s parents only” only affects the first level children. However, if you would like this functionality to also affect lower levels, you may do so by adding the following filter to your active theme’s functions.php file:

    Have a great day!

  2. Sandor Kovats

    2 years and 6 months ago

    Thanks for the response. In future versions it would be great if you could include an option in the settings to not show siblings at any level. I’d rather avoid making functions.php edits if I can help it. Thanks again.

  3. OnPoint Plugins

    2 years and 6 months ago

    Hi Sandor,

    I agree with you this should be part of the plugin. I’ve added the feature to the backlog for investigation.

    I’ll let you know when it makes it into the plugin.

    Have a great weekend!

  4. Sandor Kovats

    2 years and 6 months ago

    Excellent. Thanks very much for the update.

  5. OnPoint Plugins

    2 years and 6 months ago

    Hi Sandor,

    Version 8.1.0 is now available which affects all levels of the menu when “Display the current page’s direct family only” is checked.

    You may remove your filter once you update to version 8.1.0.

    Enjoy!

  6. Sandor Kovats

    2 years and 6 months ago

    Excellent. Thanks so much 🙂

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