Title: Code for getting back Home
Last modified: August 18, 2016

---

# Code for getting back Home

 *  [Roar](https://wordpress.org/support/users/rori/)
 * (@rori)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/code-for-getting-back-home/)
 * On my current comment or archive pages
    (example: [http://www.tuckle.net/index.php?p=3126](http://www.tuckle.net/index.php?p=3126))
 * at the top it has the previous and the next entry.
 * How do I get it to say Main in the middle?
 * I have tried a couple things, but obviously, me and divs just do not get along.

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

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/code-for-getting-back-home/#post-160744)
 * I can’t see your php, but this is what I have:
 * ` <?php if ($single) { ?>
    <div class="cent"> <?php previous_post('%', '', 'yes','
   no', 1, '') ?> > > || <a href="http://www.tamba2.org.uk/T2" title="Home">Home
   </a> || < < <?php next_post('%', '', 'yes', 'no', 1, '') ?> <br /> <br /> </div
   > <?php } ?>
 *  <div class="post">
 * that help ?
 *  Thread Starter [Roar](https://wordpress.org/support/users/rori/)
 * (@rori)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/code-for-getting-back-home/#post-160751)
 * Mine says:
 * `<div class="navigation">
    <div class="alignleft"><?php posts_nav_link('','','&
   laquo; Previous Entries') ?></div> <div class="alignright"><?php posts_nav_link('','
   Next Entries &raquo;','') ?></div> </div>
 * This comes right out of the Kubrick index template.
 * I wonder if I should just start over from scratch. 🙂

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

The topic ‘Code for getting back Home’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Roar](https://wordpress.org/support/users/rori/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/code-for-getting-back-home/#post-160751)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
