Multiples Realtions with meta keys
-
I need multiple relations with meta keys. But the follow loop doesn’t work.
$args = array( 'post_type' => 'any', 'posts_per_page' => 5, 'meta_query' => array( 'relation' => 'OR', array('key' => 'iframe'), array('key' => 'video'), 'relation' => 'AND', array('key' => 'videoflv') ) );
- The topic ‘Multiples Realtions with meta keys’ is closed to new replies.