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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 11023

Refers to a mechanism built into the WP_Query class for querying the database for post data, including pages and CPTs, based upon post meta data.

0
votes
0answers
When I try to use LIKE or NOT LIKE as a compare value in a WP meta query, I get the following errors in my debug logs: PHP Notice: like_escape is <strong>deprecated</strong> since version 4.0.0! Use …
asked Apr 24 '17 by Stephen
1
vote
2answers
I have searched all through the forums and WP docs, but can't find an answer to whether or not WP Meta Query permits a sub meta query. My problem is this: I have a number of types of promos (custom po …
asked Nov 19 '14 by Stephen
0
votes
I have a workaround that goes like this: I run my query above, and only filter on the type and END date, which reduces the returned set somewhat. THEN, in my loop, I add some PHP logic that basical …
answered Nov 20 '14 by Stephen
4
votes
6answers
I have a custom post type that has a number of meta boxes in it. One of these is an expiration_date field that stores its info in the db as a string formatted like Feb 1, 2017 I am trying to write …
asked Jan 6 '17 by Stephen
1
vote
I ended up working around the problem of the initial date format by changing the expiration_date field format to YYYY-MM-DD (and then modifying the display of that field elsewhere so that it remains i …
answered Feb 10 '17 by Stephen