Tagged Questions
2
votes
0answers
40 views
When querying a combination of posts and other meta fields, is there a better solution than directly modifying the WHERE value?
This question is a follow up to a question I recently asked.
I've implemented what seemed to be the only solution, and it seems to work (YAY!). I just need to verify that:
This is really the only ...
4
votes
0answers
111 views
Custom query incorrectly returning everything [closed]
I'm missing something somewhere, but I cannot connect the dots. Everything outputs properly except that the query returns everything from the DB, not just posts. Can anyone spot a reason for this ...
1
vote
1answer
280 views
Compare post-IDs within WP_Query? (Less than / Greater than)
Can I use WP_Query to only query posts less than (or greater than) a given post ID?
$filtered_query_args = array(
'post_type' => 'projects',
'order' => $prev_next=='next' ? 'DESC' : ...
1
vote
1answer
324 views
Including Custom Meta with posts_where query
I have been looking around to see how to do this but the solutions i've found don't seem to be working for me.
I'm making an AJAX powered search for some wordpress custom post types. I have got ...