Tagged Questions
1
vote
1answer
415 views
Can I query custom meta data through WP_Query
Ok, my question is a bit complex so I will try and give a general explanation and then go into details afterward.
I am running WordPress 3.4.2 and I am using WCK Post Type Creator and WCK Custom ...
0
votes
2answers
482 views
meta_query with array as value
I am writing some php which allows users of my site to submit a form and query posts by their post_meta. Everything works fine except for one thing, I used advanced custom fields to create the ...
0
votes
1answer
185 views
Meta query: get posts with value in a multidimensional array
I have a custom post type, Album, which has a custom field called 'tracklist'. Tracklist is a multidimensional array which contains a track title and track link, like so:
$tracklist = array(
[0] ...
0
votes
1answer
79 views
meta_query returning excluded result
I have a series of day slots per location, in a multicheckbox custom field. I have a search page where the user can select location, weekday desired, and activity type. Right now I just have 2 ...
0
votes
3answers
74 views
Creating Custom Query
I've hit some sort of stumbling bock here, and I can't find my way over it.
I'm trying to craft a custom WP query that searches for posts by country of origin, selecting multiple countries at once.
...
0
votes
1answer
184 views
Querying multiple values from a single key
Bainternet assisted me earler with the relation AND parameter. What I need to do now is determine how to query multiple vales from a single key. If I try to specify two arrays with the same key the ...
0
votes
1answer
250 views
WordPress & MySQL , problem with use many array in meta_query
I use this code for display custom posts :
$args = array(
'category__in' => $bookcat,
'meta_query' => array(
'relation' => 'OR',
array('key' => ...