WordPress.org

Ready to get started?Download WordPress

Forums

Eazyest Gallery
Pagination on folder / thumbnail page (3 posts)

  1. pondok
    Member
    Posted 1 year ago #

    Hi,

    I need to add pagination to the folder pages. I removed the 'more thumbnails' and now I have the previous and next thumbnails.

    I've got it working on the galery page with this code:

    <div id="navigation">
    			<?php
    			global $wp_query;
    
    			$big = 999999999; // need an unlikely integer
    
    			echo paginate_links( array(
    				'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
    				'format' => '?paged=%#%',
    				'current' => max( 1, get_query_var('paged') ),
    				'total' => $wp_query->max_num_pages,
    				'next_text'    => __(' '),
    				'prev_text'    => __(' ')
    			) );
    			?>
    		</div><!-- #navigation -->

    But I can't seem to figure out where to put it, to get the pagination on the folder thumbnails page.

    http://wordpress.org/plugins/eazyest-gallery/

  2. chewchew
    Member
    Posted 8 months ago #

    Hi Pondok,

    May i ask what file you had to edit to get pagination on thumbnails instead of the "More thumbnails" button?

    Looking for a way to achieve this...

    Thanks a lot.

  3. klihelp
    Member
    Plugin Author

    Posted 5 months ago #

    How did you resolve this?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags