Anyone know how I can neatly combine a query to pull CPT by a custom taxonomy and also standard posts by taxonomy into same query to list all posts together on my home page?
for example:
$args = array(
'post_type' => array( 'artists', 'post' ),
'post_status' => 'publish',
'tag_artists' => 'home', // cpt custom taxonomy ##
'tag' => 'home', // standard post type taxonomy ##
);
$query = new WP_Query( $args );
This is clearly wrong as it finds zero results..
here is the answer: