Title: Do posts nav links work on header.php ?
Last modified: August 18, 2016

---

# Do posts nav links work on header.php ?

 *  [anabelle](https://wordpress.org/support/users/anabelle/)
 * (@anabelle)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/do-posts-nav-links-work-on-headerphp/)
 * hi, i found this:
 * [http://codex.wordpress.org/Template_Tags/posts_nav_link](http://codex.wordpress.org/Template_Tags/posts_nav_link)
 * And im wondering if i could use
 * <div class=”alignleft”><?php posts_nav_link(”,”,’« Previous Entries’) ?></div
   >
 * in the header.php of my template?
 * i’ve tried it but it didn’t work, im asking because it didn’t work on index.php
   either.

Viewing 1 replies (of 1 total)

 *  Thread Starter [anabelle](https://wordpress.org/support/users/anabelle/)
 * (@anabelle)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/do-posts-nav-links-work-on-headerphp/#post-449616)
 * ok, my other post was closed even though it was a diferent question.
 * Is this: [http://codex.wordpress.org/Template_Tags/posts_nav_link](http://codex.wordpress.org/Template_Tags/posts_nav_link)
 * compatible with wordpress 2.0.4?

Viewing 1 replies (of 1 total)

The topic ‘Do posts nav links work on header.php ?’ is closed to new replies.

## Tags

 * [header.php](https://wordpress.org/support/topic-tag/header-php/)
 * [index.php](https://wordpress.org/support/topic-tag/index-php/)
 * [nav](https://wordpress.org/support/topic-tag/nav/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * 1 reply
 * 1 participant
 * Last reply from: [anabelle](https://wordpress.org/support/users/anabelle/)
 * Last activity: [19 years, 8 months ago](https://wordpress.org/support/topic/do-posts-nav-links-work-on-headerphp/#post-449616)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
