• Hi,

    I have used the following code and it works great, but I would like to add a view all button to this as well. Any help?

    <?php
        global $wp_query;
        $big = 99999999;
        echo paginate_links(array(
        'base' => str_replace($big, '%#%', get_pagenum_link($big)),
        'format' => '?paged=%#%',
        'total' => $wp_query->max_num_pages,
        'current' => max(1, get_query_var('paged')),
        'show_all' => false,
        'end_size' => 2,
        'mid_size' => 3,
        'prev_next' => true,
        'prev_text' => 'Prev',
        'next_text' => 'Next',
        'type' => 'list'
        ));
        ?>
  • The topic ‘View All in Pagination’ is closed to new replies.