Advanced Sidebar Menu

Omschrijving

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 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.

Check out Advanced Sidebar Menu PRO for more features including accordion menus, menu colors and styles, custom link text, excluding of pages, category ordering, custom post types, custom taxonomies, priority support, and so much more!

PRO version 8.4.0 is now available with accordion options to use links for open/close!

Functies

  • Page and Category widgets.
  • Option to display or not display the highest level parent page or category.
  • Option to display the menu when there is only the highest level parent.
  • Ability to order pages by (date, title, page order).
  • Exclude pages or categories by entering a comma separated list of ids.
  • Option to always display child pages or categories.
  • Option to select the levels of pages or categories to display when always display child is used.
  • Option to display or not display categories on single posts.
  • Ability to display each single post’s category in a new widget or in same list.

Page Widget Options

  • Add a title to the widget
  • Display the highest level parent page
  • Display menu when there is only the parent page
  • Order pages by (date, title, page order)
  • Pagina’s uitsluiten
  • Always display child Pages
  • Number of levels of child pages to display when always display child pages is checked

Category Widget Options

  • Add a title to the widget
  • Display the highest level parent category
  • Display menu when there is only the parent category
  • Display categories on single posts
  • Display each single post’s category in a new widget or in same list
  • Categorieën uitsluiten
  • Always display child categories
  • Levels of Categories to display when always display child categories is checked

PRO Features

  • Ability to customize each page or navigation menu item link’s text.
  • Click-and-drag styling for page, category, and navigation menu widgets.
  • Styling options for links including color, background color, size, hover, and font weight.
  • Styling options for different levels of links.
  • Styling options for the current page or category.
  • Styling options for the parent of the current page or category.
  • Blocked styling options including borders, border width, and border colors.
  • Option to choose from 7 bullet styles or no bullets.
  • Accordion menu support for pages, categories, and navigation menus.
  • Accordion icon style and color selection.
  • Accordion option to keep all sections closed until clicked.
  • Accordion option to include highest level parent in accordion.
  • Accordion option to use links for open/close. NEW
  • Ability to exclude a page from all menus using a simple checkbox.
  • Link ordering for the category widget.
  • Number of levels of pages to show when “always display child pages” is not checked.
  • Ability to select and display custom post types.
  • Ability to select and display custom taxonomies.
  • Option to display only the current page’s parents, grandparents, and children.
  • Option to display child page siblings when on a child page (with or without grandchildren available).
  • Ability to display the widgets everywhere the widget area is used (including homepage if applicable).
  • Ability to select the highest level parent page/category.
  • Ability to select which levels of categories assigned posts will display under.
  • Ability to display assigned posts or custom post types under categories or taxonomies.
  • Ability to limit the number of posts or custom post types to display under categories.
  • Support for custom navigation menus from Appearance -> Menus.
  • Ability to display the current navigation menu item’s parents and children only.
  • Option to display the top-level navigation menu items when there are no child items or not viewing a menu item.
  • Priority support with access to members only support area.

Translations

This plugin includes the following languages:
* English (en_US)
* French (fr_FR)
* German (de_DE)
* Spanish (es_ES)

Ontwikkelaars

Developer docs may be found here.

Bijdragen

Send pull requests via the GitHub Repo

Schermafdrukken

  • Page widget options
  • Category widget options
  • Example of a page menu using the 2017 theme and default styles
  • Example of a category menu ordered by title using the 2017 theme and default styles

Installatie

Use the standard WordPress plugins search and install.

Handmatige installatie

  1. Upload the advanced-sidebar-menu folder to the /wp-content/plugins/ directory
  2. Activeer de plugin via het ‘Plugins’ menu in WordPress
  3. Drag the “Advanced Sidebar Pages Menu” widget, or the “Advanced Sidebar Categories Menu” widget into a sidebar.

FAQ

The widget won’t show up?

The widgets 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 widget 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 widget was selected (there are different widgets for categories or pages).
2. “Display the highest level parent page” or “Display the highest level parent category” is not checked.
3. The widget is currently not being viewed on a page (for the pages widget) or category (for the categories widget).

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;
}

To style your menu without using any code upgrade to PRO.

How do you get the categories to display on single post pages?

There is a checkbox in the widget options 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 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.

Does the menu change for each page you are on?

Yes. Based on whatever page, post, or category you are on, the menu will change automatically to display the current parents and children.

Beoordelingen

7 mei 2021
This is great, I'm using this plugin on a site with more than 100 pages and half a dozen categories. Previously to have different links on different pages. I made multiple sidebars. Keeping track in the widget area was work, with lots of clutter. Returning to a site made months before to change something was a bit daunting. This is so simple, if you are using pages, use the child parent relationship and for posts categories. I use the default sidebar and two widgets, simple, clean, straightforward... As long as I link the page with a parent or post with a category it's all automatic...
28 juli 2020
It was working fine until last update. Now child pages/categories doesn't have identation anymore. It's all together parent and child, it's a mess. What did happen?
1 juli 2019
I tried the free version of Advanced Sidebar Menu and could not get it to show up. I went to try to contact the developer but was directed to use a support forum - which of course did not help.So it goes witout saying - I will not be using the pro version when the free does not show up and had no real way of notifying the plugin dev - except for here.
29 juni 2019
This is a very adaptable plugin. Now we can have the links we want on each page: Links to all of the main pages via the WordPress menu, and links to sub-pages with the Advanced Sidebar Menu. Now, instead of building a separate website for each of our Instructors, we can simply give them a few pages on the main website, and use the Advanced Sidebar Menu to provide links to only their pages. We haven't experienced any problems with this plugin, it does the job just the way we expected it to.
12 maart 2019
Having auto-generated menus based on page hierarchy is an amazing feature that should be incorporated in WordPress! This is an amazing plugin. More importantly, it is great for developers since the author has selectors to identify how deep you are in the hierarchy (parent/child/grandchild) making CSS very clean and easy, without nesting.
19 december 2018
Very useful and easy to use. When I ran into an issue this week, the plugin author looked at my site individually and updated the plugin to solve the issue. Couldn't be happier.
Lees alle 30 beoordelingen

Bijdragers & ontwikkelaars

“Advanced Sidebar Menu” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

“Advanced Sidebar Menu” is vertaald in 7 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “Advanced Sidebar Menu” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

8.6.3

  • Fix issue with CSS classnames on current page’s children.

8.6.2

  • Assured consistency for levels of page menu’s CSS classes.
  • Converted category get highest parent logic to get_ancestors.
  • Gracefully handle invalid taxonomies in Category widgets.
  • Gracefully handle widgets without ids.
  • Fixed color pickers in Elementor.
  • Fixed color pickers in Beaver Builder.

8.6.1

  • Improved widget interaction handling.
  • Synced styles between block, classic, and customizer widgets.
  • Fixed customizer widget buttons.

8.6.0

  • Support WordPress version 5.8.
  • Support Gutenberg widgets screen.
  • Minimum required version for PRO 8.5.

8.5.0

  • Introduce Utils class for shared non specific functionality.
  • Introduce is_checked method for determining checkbox state from anywhere.
  • Make Widget_Abstract::set_instance public for external use.
  • Complete preparations for PRO version 8.4.
  • Minimum required version for PRO 8.4.

8.4.0

  • Introduce new Category Walker to increase extensibility.
  • Support data-level on all widgets.

8.3.4

  • Support widget fields with array values.

8.3.3

  • Introduce data-level on all page menu levels for specific targeting.
  • Tested to WordPress 5.7.2.

8.3.2

  • Fully compatible with PHP8.
  • Tested to WordPress 5.7.1.

8.3.1

  • Add readme for translations.
  • Tested to WordPress 5.7.
  • Require WordPress core 5.2+.
  • Improved PHPCS configuration.

8.3.0

  • Improved plugin headers.
  • Added translations for French (fr_FR).
  • Added translations for Spanish (es_ES).
  • Expose Category::is_tax method for public filters.
  • Improved type casting and PHPStan static type checking.
  • Fix tense in readme.txt words.

8.2.0

  • Improved widget labels, descriptions and styles.
  • Support blocked styling borders on all levels.
  • Improved Beaver Builder and Elementor styles.
  • Improved info panel.

8.1.1

  • Improved readme.
  • Tested to WordPress 5.6.0.

8.1.0

  • Restructure widget info panels.
  • Introduced new advanced-sidebar-menu/widget/page/before-columns action.
  • Introduced new advanced-sidebar-menu/widget/category/before-columns action.
  • Improved PHPCS exclusion declarations.
  • Improved CSS structure.
  • Improved JavaScript structure.

8.0.4

  • Improved styles when used with Beaver Builder.
  • Require WordPress version 5.0.0+.

8.0.3

  • Allow List_Pages::get_args() to be filtered on any level.
  • Make debugging functionality more stable.

8.0.2

  • Introduced new advanced-sidebar-menu/menus/category/get-child-terms filter
  • Support filtering the first level of categories.
  • Use is_excluded vs is_first_level_category in category view.

8.0.0

Major version update. See migration guide if you are extending the plugin’s functionality via action, filters, or calling plugin classes.

  • Entirely new code structure.
  • Removed all deprecated code and filters.
  • Improved filter and action names.
  • Improved performance.
  • Remove default plugin styling.

7.7.3

  • Fix widget info pane links.
  • Fix widget editing on mobile devices.
  • Tested up to PHP 7.4
  • Tested up to WordPress Core version 5.4.1

7.7.2

  • Tested to 5.3.3.
  • Change default “levels to display” to All.
  • Fix notice level errors when retrieving current page.

7.7.0

  • Enable accordion previews when editing via Beaver Builder.
  • Greatly improved widget styles and UI when using Elementor.
  • Overall third party page builder improvements.
  • Move scripts and styles into new Scripts class.
  • Introduced a new Singleton trait.

7.6.0

  • Elementor support for multiple widgets of the same type on the same page.
  • Automatically increment widget ids under any cases where they would duplicate.
  • Bump required WordPress Core version to 4.8.0.

7.5.0

  • Convert “Always display child pages” to use our List_Pages structure and support all widget options.
  • Bump required PHP version to 5.4.4.