Fully automatic sidebar menus.
Uses the parent/child relationship of your pages or categories to generate menus based on the current section of your site. Assign a page or category to a parent and Advanced Sidebar Menu will do the rest for you.
Keeps the menu clean and usable. Only related items display, so you don’t have to worry about keeping a custom menu up to date or displaying links to items that don’t belong.
Blocks are available to display menus where you need them. Look for the “Advanced Sidebar – Pages” block, or the “Advanced Sidebar – Categories” block. Widgets are also available for page builders or sites using classic widgets.
The official documentation for the plugin may be found here.
Developer docs may be found here.
Send pull requests via the GitHub Repo
Our PRO version brings additional functionality to this plugin. Check out the demo to see if the PRO version is useful for you.
Use the standard WordPress plugins search and install.
Manual Installation
advanced-sidebar-menu
folder to the /wp-content/plugins/
directoryThe menu in this plugin are smart enough to not show up on pages or categories where the only thing that would display is the title. While it may appear like the menu is broken, it is actually doing what it is intended to do.
The most common causes for this confusion come from one of these reasons:
1. The incorrect menu was selected. Categories have their own widget/block as pages have their own widget/block.
2. “Display the highest level parent page” or “Display the highest level parent category” is not checked.
3. The Pages menu is currently not being viewed on a page.
4. The Categories menu is not currently being view on a category.
You may add CSS to your theme’s style.css to change the way the menu looks.
For example the following CSS would:
1. Remove the dot to the left of the menu item.
2. Change the link color.
3. Add a background on hover.
.advanced-sidebar-menu li.current-menu-item a { color: black; } .advanced-sidebar-menu li.current-menu-item { list-style-type: none !important; } .advanced-sidebar-menu li.current-menu-item > a:hover { background: teal; }
To style your menu without using any code upgrade to PRO.
The Categories Menu widget/block contains a “Display categories on single posts” checkbox, which will display the category menus based on the categories the current post is assigned to.
Yes. Based on whatever page, post or category you are on, the menu will change automatically to display the current parents and children.
Widget/WidgtId
and Widget/WithWidgetId
interfaces.Widget/WidgetIdAccess
and Widget/Checbox
traits.advancedSidebarMenuDebug
helper function.Menu_Abstract
to an interface.is_plugin_active
is not available.Utils::is_empty
method.List_Pages
cache.is_truthy
utility method.get_post_type_label
utility method.is_empty
utility method.Menu
interface and began promoting Menu_Abstract
to it.Utils_Interface
to guarantee the existence of shared methods.apiVersion
to “3”.List_Pages::parse_args
method.data-level
on category menus larger than 3 levels.private
access modifiers.advanced-sidebar-menu
CSS class to block widget wraps.isScreen
helper to make screen conditionals cleaner.