I'm trying to take two meta_vales and filter by both.
Example.
If this page has meta values red and blue, only display pages that have both red and blue and none that have just red or just blue.
I thought this could be accomplished with two meta values 'meta_value' => $red, $blue but apparently it's not available. Below is where I found myself before the block. Any help would be appreciated.
<?php
$red = get_post_meta($post->ID, 'red', true);
$blue = get_post_meta($post->ID, 'blue', true);
$args = array(
'post_type' => page,
'nopaging' => true,
'post_parent' => 1440,
'meta_value' => $red, $blue
);
?>
<?php query_posts($args);?>