Including Custom Post Type posts in a page template contextually (or should I widget?)

Custom Archive Page What you’re describing is a custom archive page. https://www.google.com/search?q=custom+archive+page https://codex.wordpress.org/Creating_an_Archive_Index Child Theme Forget widgetised areas. They’re not necessary based on what you described. Simply fork (copy and manipulate) your archives template page by using using a child theme rather than directly editing the parent theme (edits won’t survive theme updates). https://codex.wordpress.org/Child_Themes Featured … Read more

Problem in displaying related posts by specific taxonomy in custom post type

Try this: On the single view, you need to use get_the_terms() rather than get_terms(). That way, you’re getting the terms that are actually assigned to the post, rather than all the terms that exist. $post_type=”mp3″; $tax = ‘post_tag’; $post_count = 5; $counter = 0; $tax_terms = get_the_terms($post->ID, $tax); if ($tax_terms) { foreach ($tax_terms as $tax_term) … Read more