Nieuwsoverzicht
'post',
'post_status' => 'publish',
'cat' => '-3',
'posts_per_page' => '12',
'post__not_in' => array($currentID),
'paged' => $paged
) );
?>
have_posts() ) : ?>
have_posts() ) : $query->the_post(); ?>
str_replace( 999999999, '%#%', esc_url( get_pagenum_link( 999999999 ) ) ),
'total' => $query->max_num_pages,
'current' => max( 1, get_query_var( 'paged' ) ),
'format' => '?paged=%#%',
'show_all' => false,
'type' => 'plain',
'end_size' => 2,
'mid_size' => 1,
'prev_next' => true,
'prev_text' => sprintf( ' %1$s', __( 'Nieuwere berichten', 'text-domain' ) ),
'next_text' => sprintf( '%1$s ', __( 'Oudere berichten', 'text-domain' ) ),
'add_args' => false,
'add_fragment' => '',
) );
?>