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.

So when you put %category% in the permalink structure that tag will be replaced with the path from the root category to the furthest subcategory, where, when placed in multiple categories, it will take the category order in account.

So how is this possible for custom taxonomies?

I came up with the following code: http://pastebin.com/pVyKzryS

I was wondering if someone had a better way to accomplish the same?

share|improve this question

1 Answer 1

This will probably be easier to do when the following filter lands:

http://core.trac.wordpress.org/ticket/18752

Update July 16. 2012: Fixed.

share|improve this answer

Your Answer

 
discard

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

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