Title: Comment out Edit Post link
Last modified: August 18, 2016

---

# Comment out Edit Post link

 *  [ellenfinkl](https://wordpress.org/support/users/ellenfinkl/)
 * (@ellenfinkl)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/comment-out-edit-post-link/)
 * I have the following in my index.php:
    <?php edit_post_link(‘Edit’,”,’**|**‘);?
   > Since I’m not allowing anyone else to edit my blog posts, can I do the following
   to comment it out?
 * <!–<?php edit_post_link(‘Edit’,”,’**|**‘); ?> –>
 * I’m not sure of the syntax.

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

 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/comment-out-edit-post-link/#post-272301)
 * It only shows up for you when you are logged in or anyone else of a higher level(
   which I assume there isn’t) so just leave it. Log out and then view the page 
   and you will see what I mean.
 *  Thread Starter [ellenfinkl](https://wordpress.org/support/users/ellenfinkl/)
 * (@ellenfinkl)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/comment-out-edit-post-link/#post-272305)
 * Thanks!

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

The topic ‘Comment out Edit Post link’ is closed to new replies.

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [ellenfinkl](https://wordpress.org/support/users/ellenfinkl/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/comment-out-edit-post-link/#post-272305)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
