Get custom post type where taxonomy..
Your code should work if you are using the correct information. You can directly work with the query variables as you did. Just remember to reset your post data after your custom query, very very important! You can also try using the tax_query in WP_Query $args = array( ‘post_type’ => ‘plants’, ‘tax_query’ => array( array( … Read more