Edit and Delete posts from front end with no plugin

This is a continuous tutorial to the “post from your front end” tutorial by voodoo. I will break the tutorial to two parts to make it easier. First part will be creating “my-posts.php” template file. This file displays a list of posts (approved and pending) of a user when he is logged in when each post will have “Edit” and “Delete” buttons. Clicking on “delete” button of a post will instantly delete it. Clicking on “Edit” will send the user to “edit-post.php” file that we will create in the second part of this tutorial.

Continue reading “Edit and Delete posts from front end with no plugin”