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
- Get the children of the parent category
- Display All Products by Category with WooCommerce
- How to modify navigation menu of the “My Account” page in WooCommerce
- Retrieve Product category ‘NAME’ by product category ID – WooCommerce?
- Woocommerce get category image full size
- wp_nav_menu not appearing for a couple pages
- Main menu not appearing on category pages
- Multi Level Bootstrap Navigation Menu in WordPress
- Custom Nav Walker menu – Display category count
- Show only 2nd level of navigation depending on active navigation
- Programmatically create product category and add thumbnail in woocommerce
- Create product category and keyword search form in woocommerce? [closed]
- Moving Categories submenu to Media, but still opens Posts menu
- Remove child products from woocommerce category page [closed]
- How do I edit pre_get_post for the category the user is currently in?
- Is there a function to cause empty categories not to show in menus?
- Assign different category colours to different categories in the main menu
- Keep active class in post page
- Auto add pages to category menu
- Custom Nav Walker sub-menu HTML construct
- How to show empty category in admin menus search
- Add custom taxonomy terms to WordPress menu dynamically & append #slug to url
- Is it possible to put next and previous category links?
- How to select product category while adding new product in woocommerce? [closed]
- Use get_term_children to get the sub category of a parent category for the current post
- Hide uncategorized products from the shop page
- Generate a tabbed submenu — from taxonomy term or submenu item — with sample content
- Adding different classes to anchor in navigation menu
- Remove word “Category” from WooCommerce product page [closed]
- how to automatically generate hierarchical menus from hierarchy of pages?
- Filtering search results
- WooCommerce change category url and product base
- Automatically add product_categories to nav_menu
- Output link to category from WP_Query loop of woocommerce products
- 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 Category/Subcategory structure
- How to display dynamic content in start_lvl function
- Add a specific category at a specific place to the menu that uses wp_list_pages
- Display “add to cart” button on every listing in product category page?
- How to get product count with respect to categories in WooComerce
- Custom page for WooCommerce’s /product-category/
- Make three menus with three category levels
- Show custom menu in category and its posts
- Remove the current item from a menu
- Custom Woocommerce Category view
- Chained drop-down menu for custom taxonomy using chained.js
- How to prevent uppercasing of menu titles
- Displaying categories and subcategories without link
- Get all first images of posts in same category
- How was this menu system created?
- In category.php I need to get the next 10/previous 10 posts
- WooCommerce category display in custom page
- Sorting Woocommerce products by category and attributes
- Woocommerce custom taxonomy order
- How to get Woocomerce categories count
- Woocommerce – Display product category of product in Orders page
- Changing Woocommerce categories programatically
- Get all categories
- Display sub menus as separate lists
- Woocommerce Force the category choice before creating new product? [duplicate]
- Categories and products woocommerce wordpress
- Function to reference post meta in place of category Woocommerce
- Add custom fields to Woocommerce Category Page
- Give custom class names to WP nav sub-menu
- Restricted category in Woocommerce [closed]
- Nav walker bootstrap: Display 3rd level and 4th level in dropdown menu
- category id (term_id) in url instead of slug
- Products showing up in subcategory when they shouldn’t
- wp_nav_menu parent in submenu
- How to add toggle-able DOM element after nav menu item?
- How do we ReWrite HTACCESS to point a cat/subcat Product URL, to Cat/ only?
- Hide product categories if empty by leaving them positioned in the same place in the menu
- What would be the easiest way to show subcategories under specific parents as text links only?
- How can I display the category descriptions below the category name using a functions.php filter?
- Change woo status automatically [closed]