Site logo

Archived topic

Add Edit Option Next to Post Author Name for All Posts

7 replies · Started by Chris on June 19, 2015

Viewing posts 1–8 of 8

I would like to display the "Edit" link/option right below a post header to the right of the Date and Author name for easier access to edit each post for logged in admins and users.

Previous themes I've used displayed the "Edit" option in that spot by default.

Currently the Edit link/option shows up (at the bottom of an individual post) only when a logged in user clicks and displays each individual post.

What's the easiest and least disruptive way to accomplish this?

What about for pages, where there's no author/date entry?

Personally, I think the edit link is kind of redundant - the admin bar at the top of the screen has an edit page link, which is always present no matter where you are on the screen.

You can always overwrite the generate_posted_on() function to include the edit link, but I'm not sure it's completely worth it?

Let me know :)

It's actually worth it because it makes it easier to edit specific posts (useful when there are multiple contributors and an admin or editor needs to adjust and edit style, content, or image formatting/placement on multiple posts).

In blog summary view mode (index.php) you can easily scroll to view the posts and click "Edit" to immediately go edit that post.

The current way you have to scroll, then click on the post title, and then click the "Edit Post" option in the WP admin bar. Those extra clicks can really add up over time. :)

Any help on implementing this with minimal core file disruption will be appreciated. :)

Grr, that's definitely what I meant. Sorry!

Worked like a charm! Thank you!

You're welcome :)

This archived topic is closed to new replies.