Title: edit_post_link
Last modified: August 18, 2016

---

# edit_post_link

 *  [mush](https://wordpress.org/support/users/mush/)
 * (@mush)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/edit_post_link-2/)
 * I’m using a theme called [rdc0.7](http://www.roobottom.com/wp_theme/) and I’m
   trying to add the edit_post_link to it.
 * I’ve [read the Codex](http://codex.wordpress.org/Template_Tags/edit_post_link)
   on this, and added the proper code to my index.php page within the loop, but 
   the Edit link never shows up. (And yes, I’m logged in while testing.)
 * Can anyone give me any clues as to why this might be?
 * [http://www.goblinbox.com](http://www.goblinbox.com)

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

 *  Thread Starter [mush](https://wordpress.org/support/users/mush/)
 * (@mush)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/edit_post_link-2/#post-266542)
 * …anyone?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/edit_post_link-2/#post-266543)
 * Here’s the code from the Default Theme’s index.php at 1.5.2 and it seems to work.
 * ` 
    <p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</
   strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('
   No Comments »', '1 Comment »', '% Comments »'); ?></p>
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/edit_post_link-2/#post-266545)
 * In case you have your blog and your WP install in different directories – it 
   won’t work. See: [http://wordpress.org/docs/installation/different-address/](http://wordpress.org/docs/installation/different-address/)
   the Caveat section at the bottom!
 *  Thread Starter [mush](https://wordpress.org/support/users/mush/)
 * (@mush)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/edit_post_link-2/#post-266550)
 * That caveat makes me all very sad and stuff.
 * *sniff*
 * Hmm, maybe I’ll freak out and move my WP installation to the root of my site.
   I really love those Edit links!
 *  Thread Starter [mush](https://wordpress.org/support/users/mush/)
 * (@mush)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/edit_post_link-2/#post-266609)
 * I’ve discovered that the blog-and-WP-in-different-subdirectories issue only applies
   to Firefox.
 * In other words, the edit_post_link code that I added to my template *works* if
   I’m using IE, but not if I’m using Firefox.
 * Is this a browser issue, or a WP issue? Anyone?
 *  [ewenc](https://wordpress.org/support/users/ewenc/)
 * (@ewenc)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/edit_post_link-2/#post-266616)
 * I’ve found the very same and haven’t found a solution yet – edit_post_link works
   if using IE, but not Firefox.
 *  [ewenc](https://wordpress.org/support/users/ewenc/)
 * (@ewenc)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/edit_post_link-2/#post-266617)
 * However, I’ve just found it was because I wasn’t logged in in Firefox – the theme
   I’m working on doesn’t have log in / out stuff at the moment.
 * Stuck wp_loginout() back in the side bar and sure enough I was being invited 
   to Log In. Did that and hey presto – edit links.

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

The topic ‘edit_post_link’ is closed to new replies.

## Tags

 * [edit_post_link](https://wordpress.org/support/topic-tag/edit_post_link/)

 * 7 replies
 * 4 participants
 * Last reply from: [ewenc](https://wordpress.org/support/users/ewenc/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/edit_post_link-2/#post-266617)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
