Widgetize Navigation Menu allows you to add any widget to your navigation’s drop-down menus with an easy to use interface. Comes with four custom widgets to help you beautify your menu.
Features
- Simple Interface: - Any main menu item you create will show up in the options page. Check off which items to widgetize and how many columns of widgets you would like to have for each.
- Add any widget - Depending on the menu items and column choices you made, correlating widget areas will be created.
- Search Bar - Display built in search bar that helps save space in your header.
- Social Meda - Display Contact, Facebook and Twitter icons in your menu.
- Built in Widgets - Widgets: Advanced Pages, Advanced Categories, and Advanced Recent Posts come with this plugin that are optimized for display in your drop-down menus.
- Columns: Allow you to easily organize your content for your users.
- Advanced Button Widget - The fourth widget that accompanies this plugin allows you to display a custom button and optional image in your dropdown menu.
- Responsive - Makes your navigation responsive to suit both mobile and tablet devices.
- Custom Styling - Style your menu with custom colors as well as applying custom css.
Demo
http://www.lendingapaw.org/widgetized-navigation-menu-in-wordpress/
Built in Widgets
Four widgets come with this plugin:
- Advanced Recent Posts: List your most recent posts by multiple categories. Display resizable featured images. Split into two columns for enhanced look in menu.
- Advanced Pages: Check off the pages you wish to list. Display resizable featured images. Split into two columns for enhanced look in menu.
- Advanced Categories: Check off the categories you wish to list. Split into two columns for enhanced look in menu.
- Advanced Button Widget: Display a button with custom text and color. Optionally accompany with an image.
- Upload expanded widgetize-navigation-menu folder to the /wp-content/plugins/ directory
- Activate the plugin through the "Plugins" menu in WordPress
- Create your standard Wordpress Menu under Appearance -> Menus
- Go to Appearance -> Dropdown Menus
- Select the navigation menu you would like to widgetize
- Under each menu item, select how many columns to add to each menu item. (you can have multiple widgets in a column and you can select up to four columns.)
- Style your menu by setting its colors, width and optional search bar.
- Make sure to select "Enable Menu" when you are ready to show the new widgetized menu.
Use of the Widgets
Go to Appearance -> Widgets and you will see all the widget areas created - named by the menu item's title and column number it correlates to.
The four widgets that come with this plugin will also be in this section on the left hand side for you to drag over into any widget area.
Manual Installation
Alternatively you can manually insert the code to replace your navigation menu with the widgetized one.\
Go into theme's file where that navigation is called (typically header.php):
Replace this function:
wp_nav_menu(array(... ‘theme_location’ => ‘MENU NAME’ ) );
With:
if (function_exists(‘widgetize_my_dropdown_menus’)) {
widgetize_my_dropdown_menus(‘MENU NAME’);
}
(Make sure to use your menu name in place of “MENU NAME”)
1.0
First version
1.01
Fixed submenu height when switching screen width sizes
1.02
- Widget areas now accept accented characters and multi-language characters
- Fixed styling of other widgets in menu that do not come with plugin
1.03
- BIG UPDATE - New "Enable Menu" button allows you to widgetize your navigation menu without needing to edit the code.
- Changed use of jQuery's window width to window.innerwidth