[wp-hackers] Custom post-types and taxonomy rewrite

Lox lox.dev at knc.nc
Sun Aug 22 00:35:25 UTC 2010


I give a lot of importance in my url. I have a post-type called 'schools'
and a taxonomy for it called 'type'. The rewrite for the post-type is
'school' so http://mysite.com/school/the_school_name/ is giving me the page
for "the_school_name" school.

Now I need to categorize them, so I created a taxonomy called 'school_type'.
How can I have the 'school_type' slugs in front of the schools permalinks ?

Basically I need to have:


I tried to add %category% to the postype rewrite parameter but it failed.

Best regards

lox.dev at knc.nc

More information about the wp-hackers mailing list