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 |
"wp-query" ambiguously refers to one of two things. 1) WP_Query is a class native to WordPress which allows users to query the posts database using a number of criteria. 2) $wp_query is the global variable that holds the main query object prepared by WordPress based on a given request.
0
votes
1
answer
2k
views
Display 3 levels of categories on page
I have a loop that takes the cat_id of the top-level e.g. "Data", loop through the categories, display the second level as H2s, and then display the posts in each subcategory.
Data
Analytics Service …
4
votes
3
answers
3k
views
Display posts the match taxonomy term linked from wp_list_categoies?
This should be simple, but it escapes me.
I have a custom post type and a custom taxonomy. The taxonomy is named "asset_type" and the slug is "type"
I am using wp_list_categories to provide a sideb …
0
votes
2
answers
417
views
Multiple loop for "featured" items returns wrong posts
I have a page template where I first am getting the contents of the page, as input in the admin tool, then a loop of posts of a custom post type.
I need to split this loop up into the 2 newest posts …
1
vote
1
answer
3k
views
Display posts where date field matches current month?
I have a loop which displays all the posts of the "events" post type on my site. Each of these posts has a custom date field "event_date", which I sort the display of the loop by.
I would like to sim …