WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

With the pagination activated in the Options panel and when using different gallery templates, is there a way to disable pagination on a specified template? If I have more than one gallery on a page, and have pagination turned on for the thumbnails, then the pagination on one gallery also controls the pagination on the other galleries on the page

Any idea? Thanks

share|improve this question

you could probably use something like :

<?php echo do_shortcode('[nggallery id=2 0-1000]'); ?>

which would show them all... you could replace the second number (in this case 1000) with a variable that would fetch a number of pictures in a gallery..

share|improve this answer
Thats a really good idea, but i dont have custom templates, so the id=2 is not fixed – user3217 Feb 16 '11 at 17:31
how do you call the gallery? id is the id of the gallery, not the id of the template.. – pootzko Feb 16 '11 at 17:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.