WP Product Category Menu Dropdown
Adds a dropdown menu item that lists all WooCommerce product categories.
by Mustafa Hasanain · github.com/mustafahasanain/wp-product-category-menu-dropdown
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mustafahasanain/wp-product-category-menu-dropdown/archive/refs/heads/main.zipAdds a dropdown menu item that lists all WooCommerce product categories.
Description
WP Product Category Menu Dropdown adds a configurable Product Categories dropdown to a WordPress navigation menu. The dropdown uses the WooCommerce product category taxonomy and supports nested categories.
Settings are available in Settings > Product Category Menu.
For exact ordering, go to Appearance > Menus and add the Product Categories Dropdown item. You can drag it anywhere in the menu, including the middle. If the menu item is not used, the plugin can still append the dropdown automatically based on the settings, or you can set the automatic fallback to none.
Installation
- Upload the
wp-product-category-menu-dropdownfolder to/wp-content/plugins/. - Activate the plugin in WordPress.
- Go to Appearance > Menus, add Product Categories Dropdown, and drag it to the position you want.
- Go to Settings > Product Category Menu to choose display options.
Changelog
1.2.3
Changed RTL nested submenu arrow rotation so down-arrow theme indicators point left.
1.2.2
Adjusted RTL nested submenu arrows so theme-generated indicators sit on the left and point toward the child submenu.
1.2.1
Removed plugin-generated arrow indicators to avoid duplicate arrows when the active theme already adds dropdown arrows.
1.2.0
Changed the menu editor add flow to avoid the WordPress AJAX spinner issue and added a name field before adding the dropdown.
1.1.0
Added a draggable Appearance > Menus item and dropdown arrow indicators.
1.0.0
Initial release.