Get list of all Topics in use by a custom post type

I think I cracked it actually! Used this snippet: <?php $custom_terms = get_terms(‘topic’); foreach($custom_terms as $custom_term) { wp_reset_query(); $args = array(‘post_type’ => ‘episodes’, ‘tax_query’ => array( array( ‘taxonomy’ => ‘topic’, ‘field’ => ‘slug’, ‘terms’ => $custom_term->slug, ), ), ); $loop = new WP_Query($args); if($loop->have_posts()) { echo ‘<h2>’.$custom_term->name.'</h2>’; } } ?>

Keep custom read more link on the same line as excerpt text

Simple function that changes the output of the “[…..]” text and replace with the permalink. function bm_excerpt_more_link( $more ) { $post = get_post(); return ‘<a href=”‘.get_the_permalink($post->ID).'”>Read More…</a>’; } add_filter( ‘excerpt_more’, ‘bm_excerpt_more_link’, 21 ); Or you can remove “p” tag by adding this below line before your post loop. remove_filter(‘the_excerpt’, ‘wpautop’);

Create an administation subpage containing posts in a certain category

See my answer here on a similar question https://wordpress.stackexchange.com/posts/comments/401940?noredirect=1 that discusses a plugin I did that might start to meet your needs. The plugin is called Multisite Post Reader, and can be found here: https://wordpress.stackexchange.com/posts/comments/401940?noredirect=1 Comments about additional features can be posted in the plugin support page. If the plugin is not exactly what you … Read more

The most recent post of custom taxonomy

Because your posts_per_page has a value of -1 means return all matching query. You should update your post_per_page to 1 and specify the order, and orderby parameters. Order the posts by date in descending order. $featured_value_cat_query = new WP_Query( array ( ‘post_type’ => ‘values’, ‘posts_per_page’ => 1, ‘orderby’ => ‘date’, // ‘order’ => ‘DESC’ … … Read more