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 154460

Since WordPress 2.3, plugin and theme authors have had the ability to create custom taxonomies-- essentially specialized "categories"-- to help organize information.

1 vote
Accepted

Display Custom Taxonomy names

it looks like your get_terms() call is incorrect, the argument is not an array and you have a typo in taxonomy name ('product_category' instead of 'product_categories') it should be <?php $terms = g …
Greg Winiarski's user avatar
1 vote
Accepted

How to sort a WP_Query by a custom field AND ALSO filter by a different custom field

to sort the posts by a meta field you need to have this field in meta_query and in orderby like this $query_args = array( 'post_type' => 'MY_POSTTYPE_NAME', 'post_per_page' => -1, 'meta_query' …
Greg Winiarski's user avatar
0 votes
Accepted

Tax-query on taxonomy doesn´t work

You seem to have a typo in the first snippet that is 'tax-query' => array( instead of 'tax_query' => array(
Greg Winiarski's user avatar