I'm looking for a way to basically have an OR relationship between the
date_query and the
meta_query. Basically I want to combine the two
Get the posts from the last two weeks
$args = array( 'post_type' => 'post', 'orderby' => 'date', 'posts_per_page' => -1, 'date_query' => array( array( 'after' => '2 weeks ago' ) ) );
Get posts with certain meta_value, such as
sticky = 'true'
$args = array( 'post_type' => 'post', 'orderby' => 'date', 'posts_per_page' => -1, 'meta_query' => array( array( 'key' => 'sticky', 'value' => true, 'type' => 'BOOLEAN', ), ), );
How can I combine these two queries into one--but so that if a post meets either the date OR the meta_query requirement, it is selected.