WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

I have a post with attached images and I was able to display the images but I'm can't seem to find a way to paginate the results. I am using get_children but now I'm wondering if my method of displaying the images is the right way to do it or not. What other methods can I use? Thanks!

share|improve this question
Use paginate_links(). Won't be easy, but it's doable and we got example on the site by @ChipBennet. – kaiser Sep 28 '12 at 0:10
See here wordpress.stackexchange.com/a/154945/9884 – Brad Dalton Jul 17 '14 at 19:30

I doubt you could paginate within a post display. It would be more effective to display all the image attachments at the page load, and have a script do the pagination.

You can find a lot of them on such sites: http://www.themeflash.com/30-powerful-jquery-slideshow-sliders-plugins-and-tutorials/

You need to be able to edit your template files, specifically the header and post parts.

If you don't want to muddle in your template, and don't need to have the slider right on the side, you could easily install a lightbox wordpress extension that would generate an output with a pop-up window in which you can switch between images.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.