'post', 'paged' => $bluestick_paged, ); $bluestick_loop = new WP_Query( $bluestick_args ); if ( $bluestick_loop->have_posts() ) : // Start the Loop. while ( $bluestick_loop->have_posts() ) : $bluestick_loop->the_post(); // includelude the post format-specific template for the content. get_template_part( 'template-parts/content/content', 'page' ); endwhile; ?> str_replace( $bluestick_big, '%#%', esc_url( get_pagenum_link( $bluestick_big ) ) ), 'format' => '?paged=%#%', 'current' => max( 1, get_query_var( 'paged' ) ), 'total' => $bluestick_loop->max_num_pages, 'prev_text' => '', 'next_text' => '', 'type' => 'array', // Generate an array of links. ) ); if ( $bluestick_pagination ) : ?>