0

I have products in multiply categories

e.g. "All lamps", "Ceiling lamps" and "Black lamps".

"Black lamps" is the primary category (using Yoast SEO for making primary category).

My problem is that related products show products from all selected categories.

Is it possible to have related products only show from the primary category?

0

Thanks Leonardo for linking to solution here https://wpexplorer-themes.com/total/snippets/yoast-seo-primary-category-related-products/

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.