Is is possible to combine a tax_query with a date_query in the most recent Wordpress?
Here's my attempt to do so:
$args = array(
'post_type' => 'job',
'tax_query' => array(
array(
'taxonomy' => 'location',
'terms' => 'dallas',
'field' => 'slug',
)
),
'date_query' => array(
array(
'year' => '2014',
'month' => '12',
),
)
);
$jobs = new WP_Query($args);
However, it is ignoring the date query and only the taxonomy query works. When I remove the taxonomy query portion, the date query suddenly works.
Any ideas on this?