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

I'm trying to edit my new theme and I got the following comments:

  1. Single image gallery post: image shifted in left side with footer
  2. Need next and previous image gallery link on single image gallery post.

I know how to create a gallery post with many thumbnails, but how do I create a single gallery post in order to simulate the above to comments?

share|improve this question

closed as too localized by Chris_O, Chip Bennett, Wyck, Brian Fegter, kaiser Sep 1 '12 at 1:28

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I really don't understand your question and it may be marked as "too localized". Please, take a look at the FAQ and try to improve it. – brasofilo May 23 '12 at 11:17
For future reference, please post review-specific question in your Theme review ticket, so that your questions can be answered more quickly/effectively. As-is, this question borders on too localized (it is specific to your Theme Review ticket) and/or not a real question (it is easily answered with a mere Codex link) for WPSE. – Chip Bennett May 23 '12 at 15:27
Thanks Chip! Yes, as a first timer, I just figured that you can comment in your review ticket and ask your reviewer directly. Will do so from now on. – Sayanee May 31 '12 at 1:35
up vote 0 down vote accepted

Read Theme Unit Test and import the test data (including images!) into a new blog. You will get everything you need to test.

There is a gallery post included (Images Test), and if you click on an image you get an attachment page for this gallery image.

Here is a screen shot from TwentyEleven:

enter image description here

See the links in the upper right corner? Look into the source code of TwentyEleven to understand how they are implemented.
Use previous_image_link() and next_image_link().

<span class="nav-previous"><?php 
    previous_image_link( false, __( '&larr; Previous' , 'twentyeleven' ) ); 
<span class="nav-next"><?php 
    next_image_link( false, __( 'Next &rarr;' , 'twentyeleven' ) ); 
share|improve this answer

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