List custom post type by custom field date
问题 I'm working with Wordpress and WP-Types plugin and need to sort CPT by a custom field date. This work fine: $args = array( 'post_type' => 'parties', 'paged' => $paged, 'meta_key' => 'wpcf-parties_date', 'orderby' => 'meta_value', 'order' => 'DESC', ); The orderby works perfect. On the Database the value of the field date 'wpcf-parties_date' is store in this way ex: 1349481600 . I have two templates where i need to show past and upcoming Posts. My question is how can i display only the future