We’re rewarding the question askers & reputations are being recalculated! Read more.
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 answers only user 171161

Custom Fields are fields that can hold arbitrary extra information known as meta-data.

1
vote
$enddatevar = get_post_meta( $post_id, $key = 'enddate', $single = false); $post_id is not defined, either declare it beforehand, or use $post->ID. update_post_meta( $post->ID, 'promote', '$enddate …
answered Aug 14 by Jess_Pinkman
3
votes
Maybe with SQL, but I wouldnt suggest it, so you have two options: Query a full list, and then check your condition on each post retrieved. or Save the product of those three fields in another meta …
answered Oct 4 by Jess_Pinkman