OnPoint Plugins

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

No sidebar menu if no subpages

Resolved

Requested: 2 years and 3 weeks ago

Hello,

is there any option for disable Advanced Sidebar Navigation Menu widget if there are no subpages?

I want to avoid sidebar menu with one item.

Thanks
Paul

Plugin: Advanced Sidebar Menu

  1. OnPoint Plugins

    2 years and 3 weeks ago

    Hi Paul,

    This may be accomplished by adding the following filter to your active theme’s functions.php file:

    Note: For this filter to work, you must have “Display the current item’s section only” checked in your widget options, which you currently do.

    Have a great day!

  2. Pavel VeselĂ˝

    2 years and 3 weeks ago

    Thanks very much. It works.

    P.

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