Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 8802
0 votes

Taxonomy and Date in same query?

A bit more digging. I was able to do a conditional based on the querystring, and run a separate query. Here's my final solution: if($locationq) { $qu = 'tax_query'; $typequery = array( array( …
f8xmulder's user avatar
  • 111
0 votes
Accepted

Taxonomy and Date in same query?

=$date): //echo '<option value="">'. $date .'</option>'; $dt = strtotime($date); $month=date('m',$dt); $year=date('Y',$dt); echo '<option value="?month='. … $date .'</option>'; $current_date = $date; endif; endforeach; wp_reset_postdata(); echo ' </select>'; echo '</div>'; ?> </div> <? …
f8xmulder's user avatar
  • 111
1 vote
3 answers
1k views

Taxonomy and Date in same query?

'field' => 'slug', ) ), 'date_query' => array( array( 'year' => '2014', 'month' => '12', ), ) ); $jobs = new WP_Query($args); However, it is ignoring the date … When I remove the taxonomy query portion, the date query suddenly works. Any ideas on this? …
f8xmulder's user avatar
  • 111