No sidebar menu if no subpages Resolved Requested: 2 years and 4 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. ThanksPaul
OnPoint Plugins2 years and 4 months ago
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!
Pavel Veselý2 years and 4 months ago
Thanks very much. It works.