Home Forums Plugin Support WP User Frontend Pro create an edit link outside the dashboard

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Tareq Hasan 6 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1428

    cheekyboots
    Participant
    Post count: 7

    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

    #1430

    Tareq Hasan
    Keymaster
    Post count: 2831

    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 2 posts - 1 through 2 (of 2 total)

The topic ‘create an edit link outside the dashboard’ is closed to new replies.