Thanks. I needed to wrap the meta_query in another array to get this working. Here’s the code.
$args = array(
'post_type' => 'listings',
'meta_key' => 'usp_startdate',
'orderby' => 'meta_value',
'order'=>'DESC',
'meta_query' => array(
array(
'key' => 'usp_startdate',
'value' => array( '2012-01-01', '2012-12-31'),
'compare' => 'BETWEEN'
)
)
);
$query = new WP_Query($args);
Hi
I’m having difficulties in getting this to work. I am able to add the images to the post and save it, however I can’t seem to output the images on the page following the directions in the readme file. I’m using WP3.1 and version 1 of the plugin. Can anyone confirm if it should work in WP3.1 and what I may be doing wrong. Thanks.
I’m trying to do the same thing has anyone come up with a way to achieve this?
Thanks.