Duplicate slug/permalink issue

You can do that using Custom Permalinks Plugin, you need to add a full slug manually [shows/2017/any]. It also allow you customize your permalink: [anyname/another/2017/example/slug]. You should still using this plugin, if you deactivate it, all permalinks will return to default [shows/2017/%postname%]

Custom Post Type Advanced Slug

This is pretty straightforward using a rewrite endpoint. The first step is to set an ep_mask when you register your taxonomy, which is part of the rewrite argument. Note that it’s a constant, and should be as-is, without quotes: $args = array( ‘rewrite’ => array( ‘slug’ => ‘location’, ‘with_front’ => false, ‘ep_mask’ => EP_TAGS ), … Read more

one post per term taxonomy

Yeah sure. <?php $included_post_ids =array(); $args = array( ‘post_type’ => ‘APP_POST_TYPE’, ‘post_status’ => ‘publish’, ‘posts_per_page’ => 1, ‘tax_query’ => array( array( ‘taxonomy’ => ‘coupon_category’, // Taxonomy ‘field’ => ‘slug’, ‘terms’ => $tax[0]->slug, // Your category slug ), ), ); $custom_posts = get_posts( $args ); if( !empty( $custom_posts ) ){ foreach ($custom_posts as $key => $postObj) … Read more

Display both parent and child custom taxonomy / content

Here is the code…It may help you to display layout as you wanted. Also Here I have used post type as product and taxonomy as product_cat so you must need to change that as your code. The layout looks like this http://prntscr.com/mjxvzm <?php $post_type=”product”; $taxonomy = ‘product_cat’; $terms = get_terms( array( ‘taxonomy’ => $taxonomy, ‘hide_empty’ … Read more