Title: next/previous post navigation
Last modified: August 21, 2016

---

# next/previous post navigation

 *  [darious](https://wordpress.org/support/users/darious/)
 * (@darious)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/nextprevious-post-navigation/)
 * Hi,
 * first thing to say is that I have a very little knowledge in php/css, but I guess
   what I want to do isn’t difficult. Each post on my blog is an image. I want to
   do image/post navigation similar to facebook ( when you press on left side of
   photo you go to previous and on the right side – next)
 * I’ve found this code
 *     ```
       <?php previous_post('« « %', '', 'yes'); ?>
       | <?php next_post('% » » ', '', 'yes'); ?>
       ```
   
 * when I add it to single.php file I get links to previous and next image, but 
   I can’t figure it out how to move them on top of the image.
 * Darius

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

 *  Thread Starter [darious](https://wordpress.org/support/users/darious/)
 * (@darious)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/nextprevious-post-navigation/#post-5070313)
 * anybody?
 *  [Sleneau](https://wordpress.org/support/users/sleneau/)
 * (@sleneau)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/nextprevious-post-navigation/#post-5070351)
 * Could you post a link to a page with the functionality you are describing on 
   it so that we can take a look at it?

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

The topic ‘next/previous post navigation’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Sleneau](https://wordpress.org/support/users/sleneau/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/nextprevious-post-navigation/#post-5070351)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
