Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm working on a site www.site.com that has an additional post type: project. In registering project, I've declared "taxonomies"=>array("category") so that I can categorize the essays. Works fine.

Now, the post type archive is at www.site.com/projects/ as I'd expected, but I can't seem to find a URL for a category archive that fetches only projects.

I'd like it to appear at www.site.com/projects/category1.

I've tried every combination of permalink/CPT registration options I could think of, but the best I've gotten was a 404.

I am able to get the results I want if I manually enter ?category_name=category1 in the URL but can't seem to incorporate this into the permalink structure.

Any hints?

share|improve this question
    
It looks like there is an example of this on this question. –  Ben Miller Aug 20 '13 at 4:53
    
Is there a reason why you're not using a custom taxonomy? –  vancoder Aug 20 '13 at 5:04
    
@vancoder simplicity, mainly, since Projects will be organized the same way as Posts. If I used a custom taxonomy it would be with the same names and preferably slugs. –  Isaac Lubow Aug 20 '13 at 7:15

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.