Tag Info

New answers tagged

0

You need something like this: $args = array( 'post_type' => 'post' ); $q = new WP_Query($args); if ($q->have_posts()) { $date = ''; while ($q->have_posts()) { $q->the_post(); $m = get_post_meta($post->ID,'field_id',true); // var_dump($m); if ($date != $m) { // if $m is a strtotime compatible string echo ...



Top 50 recent answers are included