I’ve created custom post type “PRODUCT”. What I need is whenever I add product with different category then the newly added category should automatically be added on my navigation menu [not repeated category]. Let us say if I add new product with a category “HEALTH” then this newly added category should appear on my navigation menu and should list all products of this category. But if I add another product on same category [HEALTH] then it shouldn’t be added on menu. Just new categories should be added. I hope I made my question clear.
PRODUCT Health Beauty
I can do it manually by going to appearance>menu but I want it to be added automatically to my navigation menu.
Read more here: How to add CPT category in navigation menu automatically in WP?