create an edit link outside the dashboard

This topic contains 1 reply and 2 voices, and was last updated by Tareq Hasan 11 years, 8 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
March 22, 2013 at 8:41 pm 1428
Tareq Hasan Hi, I want to add an "Edit this" link that would show on a post if an author is looking at their own post. This is for a custom post type. I am looking for some PHP to put in my template for this custom post type. Emma
March 22, 2013 at 9:34 pm 1430
Tareq Hasan Tareq Hasan

Paste this funciton in your themes functions.php. Now call this function where you want to show the link. Perhaps your single.php, call like this <?php wpuf_custom_edit_link(); ?>

Viewing 1 Posts - 1 through 1 (of 1 total)