How to create such URL structure for CPT with custom taxonomy


I have a CPT – Market (eg Footlocker)
And I have a taxonomy – Countries

But countries are divided into regions, so they look like a subcategory (
Europe – France, Germany, etc)

I want to get a URL with this structure in the end:

But now my link looks like this:

I need to get rid of CPT slug and parent category.

WPTricks 2 months 0 Answers 7 views 0

Leave an answer