Permalinks: custom post type -> custom taxonomy -> post

First, register your taxonomy and set the slug argument of rewrite to shows: register_taxonomy( ‘show_category’, ‘show’, array( ‘rewrite’ => array( ‘slug’ => ‘shows’, ‘with_front’ => false ), // your other args… ) ); Next, register your post type and set the slug to shows/%show_category%, and set has_archive argument to shows: register_post_type( ‘show’, array( ‘rewrite’ => … Read more

Parent Page and Breadcrumb URL’s for Custom Post Types Not Working

Okay, I was overthinking this by a mile, because it didn’t occur to me that WordPress automatically generates archive pages for custom post types if you set “has archive” to “true” when you’re registering post types. What Wound Up Working I created customized archive-{slug}.php templates in my theme files for the “brands”, “careers”, and “news” … Read more

Hide uncategorized when no category set

ok I found a solution. Let me know if I can incur into troubles doing this. basically we add the category to the url link programmatically. on page request we check if the url begin with a category/subcategory name. if so we prepend just for this request the %category% section to the permalink structure. Nice … Read more