meta_queryはすばらしいWP3.1〜
$args = array(
‘meta_query’=> array(
array(
‘key’=>’Flag’,
‘value’=> ‘open_s’,
)
),
‘meta_key’=>’date2’,
‘orderby’=>’meta_value’,
‘order’=>’ASC’
);
query_posts( $args );
$args = array(
‘meta_query’=> array(
array(
‘key’=>’Flag’,
‘value’=> ‘open_s’,
)
),
‘meta_key’=>’date2’,
‘orderby’=>’meta_value’,
‘order’=>’ASC’
);
query_posts( $args );