For menus this large, it’s usually more efficient to use functions like wp_list_categories() (which can also output custom taxonomies like Product Categories) in whatever theme template you need to affect. Bonus: your menu will always be current, because unlike a static WP Nav Menu, this will always pull all Product Categories and not need manual updating.
Keep in mind, it’s not always a good user experience to have such massive menus to drill down through, and Google specifically recommends having less than 100 links per page – which includes all links, not just menus. So, you may be better off just listing top-level categories in your menu, and making sure you have a robust search feature, to help with SEO and UX.
Related Posts:
- Add Product categories to WordPress menu without losing hierarchy
- Give Children Unique ID’s
- Reflect nested categories in appearance > menus
- Category menu item and its last 10 posts as sub-menu
- Display WooCommerce product categories in a 4 columns custom menu [closed]
- Multiple menu items highlighted
- wp_nav_menu not highlighting the current category when viewing a single post
- Open subcategories in submenu on click in primary menu
- category permalinks
- Create menu / submenu from category subcategory and posts
- Building Menu from Woocommerce Product Categories
- List a maximum of ‘x’ product categories with qty of ‘y’ in each column
- Show different menu on each woocommerce category page
- Multiple categories for one menu item?
- wp_list_pages() not showing on posts
- Global navigation in multisite: problem with categories
- WordPress category title not update in navigation menu
- omit categories from main navigation menu
- Category menu that filters out empty categories
- How can I add a Categories page link to a menu? [closed]
- Update wordpress menu with woocommerce products
- Adding 400 product categories with their hierarchy to a navigation menu
- How to create an automatic MultiColoumn MegaMenu with Categories WordPress
- Custom Nav Walker menu – Display category count
- Remove child products from woocommerce category page [closed]
- Is there a function to cause empty categories not to show in menus?
- How to show empty category in admin menus search
- Add custom taxonomy terms to WordPress menu dynamically & append #slug to url
- How to select product category while adding new product in woocommerce? [closed]
- Generate a tabbed submenu — from taxonomy term or submenu item — with sample content
- how to automatically generate hierarchical menus from hierarchy of pages?
- Automatically add product_categories to nav_menu
- display woocommerce all category title on home page
- Previous/next link to post in category, NOT tag?
- Add Icons to the Product Category Sidebar Widget WooCommerce
- Custom page for WooCommerce’s /product-category/
- Getting categories id for all products in cart
- Show recent posts in menu?
- Display child categories in WooCommerce
- WooCommerce duplicate sub categories and product slugs
- Mark menu item as current-menu-item for category
- Show Different Custom Menu on Different Category Pages
- Implementing a tricky wordpress menu (nested categories + thumbnails)
- products nested by subcategories in a current category archive
- Show number of articles in menu
- How to show only one category in breadcrumb navigation
- Automatically list top level menu item child pages
- Remove product category placeholder image (Woocomerce)
- Categories for each brands
- Unwanted Duplicate Product Categories in WooCommerce
- Customize WordPress widget – Product Category
- Check if menu_item has children or has parent
- WordPress/Woocommerce only show category in shop to a single role
- WooCommerce – How to show specific category first-rest of products-specific category last
- Custom Walker for wp_list_categories
- Show posts count for Categories and Tags in wp_nav_menu
- Create menu locations for each category in wordpress
- Add a submenu to wp_nav_menu
- Categories are not listing their respective products
- Include WooCommerce product to all child categories
- Hooking to walker_nav_menu_start_el to insert list of subpages
- WordPress list categories dropdown with parent-child relation and child under it’s parent
- Display all product tags associated with a specific product category
- Adding custom ID field to the categories
- How to display product with two condition, category and brand taxonomy
- How to Add support for sub-menu item description in wordpress?
- How to get category id’s which are added in main menu?
- Link from navbar to categories
- wp_nav_menu not appearing correctly on category page
- Custom menu with categories and tags
- Categories are not available AT ALL under Menus
- category description not showing in my woocommerce
- How to make product image inherit from category image
- How to set acf color field as background color to product category
- How to target all woocommerce categories that don’t have any subcategories in them?
- Bootstrap Theme Migrated to WordPress
- When creating a new product, auto assign it to all custom taxonomy woocommerce
- Display menu in category and sub category
- in post content shortcode works, but hardcoded in same page template doesn’t?
- Show alternative menu based on page template AND post category
- How to fix 404 error in pagination in categories of woocommerce with common url base /shop/?
- How to display custom fields as table in Woocommerce
- How do I merge WooCommerce categories with the same name?
- Show all menu levels except top level. How to exclude top level of a menu?
- How to delete WooCommerce categories in bulk that only have one product
- Product Category page showing all products
- Menu with category 2 category combined
- product_cat image url from database
- WooCommerce – Get products from category right before deleting category
- Loop within category’s posts
- Backend – Categories and Menus conflicts
- Using categories and pages in menus
- A simple question regarding tags and categories
- Custom Woocommerce Category view
- Displaying categories and subcategories without link
- Woocommerce – Display product category of product in Orders page
- Categories and products woocommerce wordpress
- Function to reference post meta in place of category Woocommerce
- category id (term_id) in url instead of slug
- What would be the easiest way to show subcategories under specific parents as text links only?