Show a Category X’s custom post type on Category X archive page?
I’d suggest adding something like this to the top of the theme file or wherever you want this content to appear in the archive, category or whatever.. // Check if it’s a category or taxonomy archive if( is_category() || is_tax() ) { // Grab the queried data, slug, tax, etc.. $queried = $wp_query->get_queried_object(); // Check … Read more