[wp-hackers] custom post types at lower nav levels
travis at travisnorthcutt.com
Thu Jan 6 13:50:26 UTC 2011
On Thu, Jan 6, 2011 at 6:47 AM, Steve Taylor <steve at sltaylor.co.uk> wrote:
> 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.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
I'd suggest taking a look at John P. Bloch's Custom Post
It may provide what you're looking for.
More information about the wp-hackers