Does your WordPress theme include a quick edit Button for editing your WordPress posts and comments?
Quick Edit Buttons help you easily edit your WordPress posts from the front-end of your WordPress blog. It's much easier rather than going back to your Posts in the admin section, searching for the particular post and editing it.
The buttons are really time-saving and efficient for WordPress admins.
If your theme hasn’t got the quick edit button yet, you might consider adding it. Here's a quick WordPress tip to help you.
In this post, let’s go through the steps of adding the button to your theme;
Note: This tip is only for those who are comfortable editing their WordPress code manually.
Quick Edit Buttons for WordPress Posts
1. While you are on the WordPress Dashboard of your blog, navigate to theme editor.
Appearance >> Editor
2. Now open your theme’s single.php file and add the below code anywhere in the loop.
Quick Edit Buttons for WordPress Comments
First, check to see if you already have this option in your theme as most of the themes come with prebuilt function. If not then follow these steps.
- Open your theme's comments.php file and add the below code.
Using Edit Post in Navigation Menus
Alternatively, you can use the Edit Post link included in the navigation menu of your WordPress site. When you are logged in, and provided that your theme supports it (most themes have support for the Navigation Menus), you should see a Navigation menu with
When you are logged in, and provided that your theme supports it (most themes have support for the Navigation Menus), you should see a Navigation menu with an Edit Post link that you can use to directly edit the post /page.
See the screenshot below showing “Edit Post” link in the Navigation Menu.
Do you use quick edit buttons in your WordPress theme?