Advanced Sidebar Menu

Description

Uses the parent/child relationship of your pages or categories to generate menus based on the current section of your site. Simply assign a page or category to a parent and this 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.

Want more options and better support?

Go Pro!

Included page options:

  1. Add a title to the widget
  2. Include the highest level parent page
  3. Include the highest level parent page even with no Children
  4. Order Pages By (date, title, page order)
  5. Use built in styling (very plain styling currently but plans for more advanced in near future versions)
  6. Exclude pages
  7. Legacy Mode – For those who like the way it was pre version 4.0
  8. Always display child Pages
  9. Number of levels of child pages to display

Included category options:

  1. Add a title to the widget
  2. Include Parent Category
  3. Include Parent Even with no Children
  4. Use Built in Styling
  5. Display Categories on Single Posts
  6. To display each Single Posts Category in a new widget or in same list
  7. Exclude Categories
  8. Always display child categories
  9. Levels of Categories to display

Templates may be overridden for customization of outputs and/or css.

Many built in filters for altering the way the widgets function.

Developer docs may be found here
https://matlipe.com/advanced-sidebar-menu/developer-docs/

To contribute send pull requests:
GitHub Repo

Screenshots

  • Screenshot of the Page widget and options
  • Screenshot of the Categories widget and options

FAQ

Developer docs may be found here:
https://matlipe.com/advanced-sidebar-menu/developer-docs/

What text domain do I use for translation and where is the .pot file?

The .pot file may be found in the plugins’ languages folder. Use the ‘advanced-sidebar-menu’ text domain.

Version 4.0+ is not displaying the same as previous version of the plugin. How do I bring this back?

You will find a checkbox in the widget options for Legacy Mode.

How do I change the styling of the current page?

You may add css to your theme’s style.css to change the way the menu looks

For Instance This would remove the dot and change the color

.advanced-sidebar-menu li.current_page_item a {
    color: black;
}

.advanced-sidebar-menu li.current_page_item {
    list-style-type:  none !important;
}
How do you get the categories to display on single post pages?

There is a checkbox in the widget options as of version 3.2 that will display the same structure for the categories the post is in.

How do you edit the output or built in css?

Create a folder in your child theme named “advanced-sidebar-menu” copy any of the files from the “views” folder into
the folder you just created. You may edit the files at will to change the output or css?
You must have the option checked to use the built in CSS (in the widget) to be able to edit the css file in this way.
The Others will work always.

Does the menu change for each page you are on?

Yes. Based on whatever parents and children pages you are on, the menu will change automatically.

How does this work with styling the page?

As of version 1.1 this will automatically generate class names for each level for menu system.
You can add classes to your theme’s style.css file to style it accordingly.
You may want to use something like margins to set the levels apart.

What if I want functionality which is not built in?

I do offer premium services for building custom add-ons for additional functionality. Otherwise you are welcome to alter the code in any way or build your own add-ons. keep in mind, if you edit the code directly, it will break on update. The best way to customize is using the built in filters or template overrides. If you have a cool add-on you have developed, let me know, I may want to publish your work.

Reviews

Works perfectly - what a timesaver!

karendean

The private intranet sites I'm working on have more than 600 - 700 pages organized into 8 sections, with varying access privileges to logged in users. We needed an auto-generated sidebar navigation panel listing all the pages within each section, with sub-sections. I've been working thru tedious iterations of building various extensive custom menus per section, site-maps, dynamic sidebars and widgets...all ending up being a waste of time & resources compared to the ease, efficiency & functionality of this plug-in! I installed this plug-in on a dev site that has 400 pages and 5 sections - worked right 'out-of-the-box'. Every page in each section has a custom sidebar list of parent/child/grand-children/etc sections with ALL the page links...with a single click! Impressive - and the last piece of the navigation puzzle we needed. We are buying the Pro version - a total no-brainer, since the free version is so well built and simple to set up. Congratulations on the ONLY viable navigation plug-in solution for page-centric Word Press sites! Only wish I'd found this plug-in 2 months ago when I started trolling for better navigation solutions!

does nothing

zdbrezina

Basic version does nothing, nothing works, definitely I think the fact that I would not buy PRO

Read all 18 reviews

Changelog

6.2.0

  • Improve sorting of categories

6.1.0

  • Improve page list view
  • Add advanced_sidebar_menu_list_pages_args filter

6.0.0

  • Remove legacy template support
  • Restructure plugin
  • Introduce ‘advanced_sidebar_menu_template_part’ filter

5.1.0

  • Convert query over to get_posts() to allow for more extendability
  • Implement object caching to improve performance for environments using external object caches
  • Begin modernizing the naming conventions of methods and improving PHPdocs

5.0.0

  • Greatly improved performance
  • Improved code structure

4.7.0

  • Added Internationalization (I18n) support

4.6.0

  • Added support for Pro Version

4.5.0

  • Improved filter structure to allow for add-ons to work more effectively

4.4.0

  • Added a has_children class to page links with hidden children

4.3.0

  • Added many filters into the category widget for things like taxonomies, parent category, display on override, order by, and much more. There is no UI support for any of this yet, but developers may now tap into this.

4.2.0

  • Added Order By Selection in Page Widget

4.0.0

  • Added support for an unlimited number of page levels
  • Change structure slightly for future enhancements
  • Added Legacy Mode for backwards compatibility

3.4.0

  • Added filter support for custom post types

3.3.1

  • Added unlimited number of levels displayed once on the grandchild level of pages

3.3.0

  • Added the ability to have a widget title
  • Redesigned the entire structure to prepare for future changes

3.2.5

  • Bugfixes

3.2.3

  • Fix a bug that caused multiple category list to display of more than one category the single post was in shared the same parent

3.2.1

  • Fix a possible bug that may display a * Notice * error if there is nothing to display and the error reporting is set to strict when using the categories widget.

3.2.0

  • Added ability to have categories show on single post pages
  • Improved the code structure

3.0.2

*Bugfixes

3.0

  • Added a categories menu widget with the same functionality as the pages widget
  • Added the ability to edit “views” files through your child theme to edit output and css
  • Cleanedup the output

Contributors & Developers

Advanced Sidebar Menu is open source software. The following people have contributed to this plugin.

Contributors

Translate Advanced Sidebar Menu into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.