Edit This Entry Template Tag
Posted by Nile | Posted in Tutorials | Posted on 11-12-2009 | 1 Comment
Tags: template 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.
Related posts:








[...] Visit Original Article [...]