I am trying to use wp_query (or another native Wordpress query class) to do the following:
get all posts WHERE ( post_type = 'post' AND category = 7 ) OR ( post_type = 'case-studies' AND meta_key = 'homeslide' AND meta_value = 1 )
I am not sure any of them can handle this yet.
Trying with WP Query:
$args = array ( 'relation' => 'OR', array( 'meta_key' => '_homeslide', 'meta_value' => '1' ), array( 'category' => '7' ) );
But I think "relation" is only for use with tax_query.
I could probably use $wpdb to create an advanced query but wanted to see if it could be done with the others and see if I was missing something obvious.