OnPoint Plugins

  • Plugins
    • Advanced Sidebar Menu
      • Basic Version
        • Documenation
        • Usage
        • Developer Docs
      • PRO Version
        • Demo
        • Usage
        • Developer Docs
    • Go Live Update Urls
      • Basic Version
        • Documenation
        • Usage
        • Troubleshooting
      • PRO Version
        • Demo
        • Usage
        • URL History
  • About
    • Services
    • Showcase
  • Blog
  • Contact
  • Support
  • Log In
← Back to support

No sidebar menu if no subpages

Resolved

Requested: 4 years and 8 months 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. Avatar for OnPoint PluginsOnPoint Plugins

    4 years and 8 months 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. Avatar for Pavel VeselýPavel Veselý

    4 years and 8 months 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.

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

  • Plugins
  • Blog
  • Contact