Forums

[resolved] How to add edit link to post on page (7 posts)

  1. mamastork
    Member
    Posted 2 years ago #

    How do I add the link in the footer of each post that allows me to edit now -- i.e.: get back to the editing page, after a post has been published?

  2. akg
    Member
    Posted 2 years ago #

    Are you logged into the front of your site?

    I'm new to wordpress so I may not have understood your question, but I only see the edit link on my blog when I'm logged in.

  3. mamastork
    Member
    Posted 2 years ago #

    Thanks for the suggestion! I am logged in, yes. I see the link when I use my wordpress.com site, but my new wordpress.org site doesn't have it. I suspect it has something to do with the template I chose -- which I am now trying to modify to add that function. Not sure where to find code or widget...

  4. Sivar
    Member
    Posted 2 years ago #

    Are you looking for this piece of code, which would have to be inside The Loop?...

    <?php edit_post_link(__('Edit'), '', ''); ?>

  5. moshu
    Member
    Posted 2 years ago #

    That's a theme-specific issue - not all the theme designers use all the same template tags. As Sivar said: add the tag to your template(s).

  6. mamastork
    Member
    Posted 2 years ago #

    Yes, that's the code! Do you know exactly where I would put it?

  7. mamastork
    Member
    Posted 2 years ago #

    Oh wait, I found it! Nevermind. Thanks!!!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags