WordPress.org

Ready to get started?Download WordPress

Forums

Putting "Edit" links on every post and page. (6 posts)

  1. chrisdoesloans
    Member
    Posted 6 years ago #

    How do I do this? I want to be able to easily and simply edit a particular post every time--like it is on the default/basic install. I'm using Cutline-3, and I want the "edit this post/page" to show up.

    I would prefer it to give me the option if only if/when I'm logged in; to say "edit this post," etc...

    I searched the plug ins directory,

  2. moshu
    Member
    Posted 6 years ago #

    No need for plugin. Check the index.php of the default theme (since you already know that one does it) and copy over the code into your theme's template(s).
    MOre: http://codex.wordpress.org/Template_Tags/edit_post_link

  3. chrisdoesloans
    Member
    Posted 6 years ago #

    Yikes. If I screw up, I just reinstall theme, correct?

  4. christykny
    Member
    Posted 6 years ago #

    I'd go the plugin route ;). There's one I recently found that is great for this. It's called 'wordpress.com admin bar' and it puts admin links at the top of your website - but only shows up for people who are logged in. There are several variations of this plugin and you can find it, and the variations, listed here http://www.wp-plugins-db.org/plugin/wordpresscom-admin-bar/

  5. moshu
    Member
    Posted 6 years ago #

    christykny,
    Since you have a simple template tag that can be easily inserted in the template files and it is visible only to the admin - why would anybody bother with more?
    The OP specifically asked for the link as it is in the default. The answer is above.

  6. christykny
    Member
    Posted 6 years ago #

    Sorry, missed your question, Moshu. The person sounded uncomfortable with messing with code - though it's definitely an easy change. Also, I like the admin bar because I can get quick access to various parts of admin directly from my site and it only shows up when you are logged in. Yes, yours is a more direct answer to getting the exact results requested. Mine was just another option. :)

    Christy

Topic Closed

This topic has been closed to new replies.

About this Topic