Search Results
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 |
A taxonomy is a generic "category" used to organize posts and custom post types
0
votes
Taxonomy and Date in same query?
Here's my final solution:
if($locationq) {
$qu = 'tax_query';
$typequery = array(
array(
'taxonomy' => 'location',
'terms' => $locationq,
'field' => 'slug',
'operator …
0
votes
Accepted
Taxonomy and Date in same query?
php
$locationq = $_REQUEST["location"];
$monthq = $_REQUEST['month'];
$yearq = $_REQUEST['year'];
$searchq = $_REQUEST['keyword'];
//list terms in a given taxonomy
$taxonomy = 'careerlocation';
$tax_terms … = get_terms($taxonomy);
echo '<div class="careerbox locationpicker">';
echo '<select class="locationlinks">';
echo '<option value="" disabled="disabled" selected="selected">Select a region</option>'; …
1
vote
3
answers
1k
views
Taxonomy and Date in same query?
Here's my attempt to do so:
$args = array(
'post_type' => 'job',
'tax_query' => array(
array(
'taxonomy' => 'location',
'terms' => 'dallas',
'field' => 'slug', … When I remove the taxonomy query portion, the date query suddenly works.
Any ideas on this? …