WordPress.org

Support

Support » Plugins and Hacks » Eazyest Gallery » Pagination on folder / thumbnail page

Pagination on folder / thumbnail page

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • chewchew

    @chewchew

    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.

    Plugin Author klihelp

    @klihelp

    How did you resolve this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pagination on folder / thumbnail page’ is closed to new replies.
Skip to toolbar