Title: Remove Multiple Categories
Last modified: January 8, 2024

---

# Remove Multiple Categories

 *  Resolved [papermelon](https://wordpress.org/support/users/papermelon/)
 * (@papermelon)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/remove-multiple-categories/)
 * Hi,
 * I have products in main categories like Necklaces/Earrings.
 * The same products also belong to secondary categories like Christmas/Halloween.
 * The feed currently shows all the categories for any product. I want the product
   feed to pick up the main product categories only. Is there a way to achieve this?
 * I tried excluding the secondary categories using filter, but the feed shows no
   change.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-multiple-categories%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/remove-multiple-categories/#post-17325384)
 * Hi,
 * Thanks for using our plugin and reaching out to us. This is only possible when
   you have set so called “**primary categories**” using the Yoast or Rankmath SEO
   plugin. You can than use the attribute “_Yoast / Rankmath primary category_” 
   in your field mapping.
 * Hope this helps?
 *  Thread Starter [papermelon](https://wordpress.org/support/users/papermelon/)
 * (@papermelon)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/remove-multiple-categories/#post-17325721)
 * Thank you!
 * Should both g:google_product_category and g:product type be changed to “_Yoast/
   Rankmath primary category_”?
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/remove-multiple-categories/#post-17326142)
 * Hi,
 * The g:google_product_category field is being filled with Google’s category taxonomy
   ID that you have used in the category mapping. So please only use the “Yoast /
   Rankmath primary category” in the g:product_type field mapping (when that is 
   the field you want it to be in).
 *  Thread Starter [papermelon](https://wordpress.org/support/users/papermelon/)
 * (@papermelon)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/remove-multiple-categories/#post-17326508)
 * Thanks! That worked!
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/remove-multiple-categories/#post-17328188)
 * Perfect, thanks for the heads-up.
 *  Thread Starter [papermelon](https://wordpress.org/support/users/papermelon/)
 * (@papermelon)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/remove-multiple-categories/#post-17328661)
 * Thanks!
 * One more question – For a product that is in multiple categories, is it possible
   to eliminate just a few in the product type?
 * Eg : Can Bracelets||Jewelry||Christmas be altered to just Bracelets||Jewelry|
   |?
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/remove-multiple-categories/#post-17331525)
 * Hi,
 * I am afraid that that is not possible with our plugin.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Remove Multiple Categories’ is closed to new replies.

 * ![](https://ps.w.org/woo-product-feed-pro/assets/icon-256x256.png?rev=3111496)
 * [Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce](https://wordpress.org/plugins/woo-product-feed-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-feed-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-feed-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-feed-pro/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/remove-multiple-categories/#post-17331525)
 * Status: resolved