Edit This Entry Template Tag

Posted by Nile | Posted in Tutorials | Posted on 11-12-2009 | 1 Comment

Tags:

The ‘edit this entry’ template tag, or edit_post_link gives the blog owner and any other users with editing privileges to have a quick link to click on that will allow the user to edit an article. Users who do not have this capability, like your readers who are not registered members will not be able to see this link as it is hidden from them.

The code is put within the Loop.


<?php edit_post_link('Edit this entry.', '<br /><p>', '</p>'); ?>

Some users find this handy, while others do not. For those who have a theme that has the ‘Edit this entry’ and do not want it, go to the single.php or the page.php and look for the above coding. Simply remove it and it is gone.

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • FriendFeed
  • Identi.ca
  • LinkedIn
  • Posterous
  • Reddit
  • StumbleUpon
  • Technorati
  • Tumblr
  • Twitter
  • Yahoo! Buzz

Related posts:

  1. Display First Full Entry And Then Following Entries As Excerpts
  2. How to Optimize WordPress for Speed: Part 2
  3. Creating A Simple Author Profile Page In WordPress

About Nile Flores

Web and graphic designer fom Southern Illinois. I love to work with WordPress.

Connect with Nile at: Twitter | Facebook | LinkedIn

Nile has written 87 articles at WPAddict.

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Comments (1)