How to Add the “Edit This” Link Somewhere In Your Blog Posts

September 26, 2007 by  

The “Edit This” link lets you go directly to WordPress’s Write Post editor where you can edit any post that has been published. It offers a more convenient way to edit your posts than having to login into your Dashboard and click Manage > Posts

The link is usually placed next to the date or post info and only visible when you are logged in as admin, editor, author, or anyone who has been granted with the ability to edit a post.


Some WordPress themes have this function built-in while for others, you would have to add it yourself. To do so, login to your Dashboard, and then go to Theme Editor under the Presentation tab.

Select your Single Post or Main Index Template file, then add the following code anywhere you want the “Edit This” link to appear. Done? You are ready to go.

<?php edit_post_link(); ?>

Did you enjoy this post? Please subscribe via RSS or email.

Related posts


RSS feed | Trackback URI


Comment by Eshark Subscribed to comments via email
2007-09-27 15:32:49

Wah! So simple.. nice one!
Mine already got this function since the theme I use already has the built-in, the only thing is different was this comes with text written ‘Edit This’ while my one just ‘e’.

Comment by Kay Kastum Subscribed to comments via email
2007-09-27 17:11:25

It is really a time saver. This is one function I can’t live without! I had mine thanks to my designer sis 😀

Comment by Mr. Rajawang
2007-09-27 17:56:00

Good for you to have someone who can design your theme for free! ahahaaha

Comment by Kay Kastum Subscribed to comments via email
2007-09-27 18:00:11

Rajawang. I’m so blessed. That’s why I thank God everyday… 😀

(Comments wont nest below this level)
Comment by Mr. Rajawang
2007-09-27 19:48:14

me too 🙂

Comment by Tim
2007-09-27 17:35:14

gaman, thanks for the useful tips ya. I have done the same thing on my blog 🙂

–blog for dream–

Name (required)
E-mail (required - never shown publicly)
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> in your comment.

Trackback responses to this post