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
- How to modify navigation menu of the “My Account” page in WooCommerce
- Retrieve Product category ‘NAME’ by product category ID – WooCommerce?
- wp_nav_menu not appearing for a couple pages
- Create product category and keyword search form in woocommerce? [closed]
- Keep active class in post page
- Use get_term_children to get the sub category of a parent category for the current post
- Remove word “Category” from WooCommerce product page [closed]
- Filtering search results
- WooCommerce change category url and product base
- Output link to category from WP_Query loop of woocommerce products
- How to get product count with respect to categories in WooComerce
- How to have custom menu Item CSS Classes for wp_page_menu() or wp_list_pages()
- How to add Categories to the top menu of the website?
- Set post categories to include parents when setting child category
- Linking products to categories
- Warning: sizeof (): Parameter must be an array or an object that implements Countable, On products pages
- Omit specific product categories from WooCommerce shortcode
- Looking for the best solution to build this Blog structure? Picture attached?
- Nav menu category links not showing
- Multiple Domain Names – One WP Install (non-Multisite) – Default Each Domain name to Product Category WooCommerce
- Hard coded main navigation
- How do I add recent posts to the menu?
- Hide woocommerce category name from specific pages
- Position image widget in mega menu
- Pagination is not working properly in Product Category/Tag pages
- How to recreate a copy of a product category in WooCommerce? [closed]
- previous/next_post_link in the same sub-category?
- Woocommerce custom category page with pagination [closed]
- Menus don’t work after 4.4 [closed]
- Categories as main menu items and subcategories as nested lists
- wp_list_categories in in nav_menu
- Redirect to another page using contact form 7? [closed]
- How to display numbered pages in a category
- Show subcategories on a parent category page
- How to create a subcategory to a PAGE on WP?
- Admin: Navigation Menus do not show empty categories/taxonomies in the list’s search tab
- How can I add a delay to the collapsible menu in Twenty Eleven?
- How to buid wordpress menu with auto width sub-menu items in dropdown menu without any items sharing one line [closed]
- Do not show sub categories in the loop on archive-product.php
- why get_the_post_thumbnail( the_ID()) echos extra post id
- Filter WooCommerce archive pages by an additional category
- Add Login/Logout Menu Item to Primary Nav “My Account” Submenu [Woocommerce] [closed]
- The cart, checkout, and shop links not getting removed
- Searching for a category returns nothing if category is empty
- Woocommerce filter function not updating
- Remove any product that is featured from regular display loop [WooCommerce]
- Two Sections on Woocommerce Catergory Page [closed]
- Woocommerce search form with category select
- How to Sync Menu, Widgets and other masters from Main Website to its Sub Site
- Theme modification for custom category menus
- Change appearance based on category but post is in two main categories
- Is custom menu name and category name linked in wordpress?
- WooCommerce shared categories
- Displaying Single Product Page Parent and Child Category
- display specific category when website loads
- Add Different Class on Different Ul in twenty-twentyone theme
- How to show given products only using product id array from specific category page in woocommerce
- WooCommerce REST API not returning the default products category
- How to show WooCommerce Categories on ‘shop’ page instead of products?
- wp_nav_menu container style args
- How to remove an item from a custom Walker_Nav_Menu
- Is there a reason to put a product in both the Child and Parent Categories?
- WooCommerce showing active product categories on single product page
- selecting categories that have products with tag/category
- Next and previous links category infinite loop
- How to get WooCommerce Product Categories and its children’s children?
- Display specific main Sub Nav on Woocommerce product pages
- Importing large product categories into wordpress menu
- set a parent category in a product woocommerce
- No results found for second level category
- Hide category links if there is nothing in the categories – Main Navigation submenu item
- Grouping parent categories into sections
- woocommerce – products by category slug? [closed]
- Right way for setting categories
- Show custom menu in category and its posts
- Chained drop-down menu for custom taxonomy using chained.js
- Get all first images of posts in same category
- WooCommerce category display in custom page
- Woocommerce Force the category choice before creating new product? [duplicate]