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 154312

"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
182 views

Query post with content only

I need to loop through the last 3 posts movie, but only those which have a content not empty. I used to do as follow when I used the ACF editor instead of the native one. movie-content refers t …
Quentin's user avatar
  • 15
0 votes
1 answer
275 views

Avoid removing duplicate posts

I have an arrays of IDs which may contain duplicate values. Array ( [0] => 24 [1] => 11 [2] => 60 [3] => 11 ) I'd like to loop through those IDs using WP Query and the post__in prop …
Quentin's user avatar
  • 15