[wp-hackers] custom post types at lower nav levels

Steve Taylor steve at sltaylor.co.uk
Thu Jan 6 12:47:43 UTC 2011


Is it possible to "position" custom post type permalinks lower than
the 2nd directory level?

For example, I have a "film" custom post type. The standard thing
would be to set the slug via register_post_type to something like
"films" for permalinks like this:


However, a site I'm working on has the films listing page here:


So we want permalinks like this:


I've tried "media-resources/films" as the slug value in the
register_post_type rewrite arg, but the URL (which is generated fine
by post_permalink) returns a 404.



More information about the wp-hackers mailing list