Agenda

'agenda', 'posts_per_page'=>'5', 'meta_key' => 'datum', 'orderby' => 'meta_value_num', 'order' => 'ASC', 'meta_query'=> array( array( 'key' => 'datum', 'compare' => '>', 'value' => date("Y-m-d"), 'type' => 'DATE' ) ), )); setlocale(LC_TIME, 'NL_nl'); if ($agenda->have_posts()) { ?> have_posts()) : $agenda->the_post(); $datum = strtotime(get_field('datum')); ?>
Thu 1 Jan 1970
Nederland – Qatar (WK Qatar)