=== Plugin Name === Contributors: Mat Lipe Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypal%40lipeimagination%2einfo&lc=US&item_name=Advanced%20Sidebar%20Menu&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest Tags: menus, sidebar menu, heirchy, category menu, pages menu Requires at least: 3.1 Tested up to: 3.5.1 Stable tag: 4.1.4 Creates a widget for both page and categories that will display the current page/category and all child pages or categories. == Description ==
add_filter('advanced_sidebar_menu_order_by', 'order_by_post_title' );
function order_by_post_title($order){
return 'post_title';
}
= 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 preminum services for buiding 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 overides. If you have a cool add-on you have developed, let me know, I may want to publish your work.
== Changelog ==
= 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
= 2.1 =
* Added default syling.
= 2.0 =
* Brought back the ability to exclude pages with support for excluding single pages from the menu.
* Added the ability to display all levels of child pages always.
* Added the option to select how many levels of pages to display when the "Always Display Child Pages" is selected
= 1.4.5 =
* Added compatibility for sites with non wp_ prefix tables
* Removed All traces of Each menu level if no pages to list
* Removed Error created by some search forms
= 1.4.4 =
* Cleaned up the way the plugin displays
* Added class to match normal widgets
* Removed the