Hi guys, I’m working on a project right now and can’t figure something out.
I have two taxonomies for the same post type
- taxonomies: “developers”, “customers”
- post type: “project”
Projects can be assigned to customers and developers.
How can I set the permalinks to look like this when I visit a single project page:
Right now I got the archive working for the customers and developers taxonomies:
but the project URL looks like this
So right now I’m missing the customer name from the permalink structure.
I hope you understand what I want to achieve and can help me out
Never had to do this, but check out this: http://wordpress.stackexchange.com/questions/31738/how-do-i-append-multiple-taxonomies-to-the-url
While a good find, that’s not the problem I’m facing. I’m not trying to get both taxonomies to show up in the permalink structure, I only need one.
Right now I’m using “rewrite” to get the single project permalink structure to look like this “customers/projects/project-name”. But I can’t figure out how to inset the name of the “customer” between “customers” and “projects”.
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.