WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a custom post type 'products' with custom taxonomy 'brands'. My URL structure should be:

  • domain.com/brands - should list the brands
  • domain.com/brands/brand/ - should list products of the selected brand
  • domain.com/brands/brand/product/ - should show the selected product

How do I define the URL rewrite of the CPT / taxonomy for this to work, and what template file lists the terms of the brand taxonomy, instead of listing posts?

share|improve this question
    
At least the first part can be done with my answer here: wordpress.stackexchange.com/questions/89535/… – helgatheviking Mar 7 '13 at 4:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.