////////////////////////////////////////////////////////////////// if (!function_exists('shaped_blog_posts_navigation')) { function shaped_blog_posts_navigation() { ?>
max_num_pages > 1) { $big = 999999999; // need an unlikely integer $items = paginate_links(array( 'base' => str_replace($big, '%#%', esc_url(get_pagenum_link($big))), 'format' => '?paged=%#%', 'prev_next' => TRUE, 'current' => max(1, get_query_var('paged')), 'total' => $wp_query->max_num_pages, 'type' => 'array', 'prev_text' => '', 'next_text' => '' )); $pagination = "