How to display post edit links after content?
How to display post edit links after content? Copy and paste the codes into your page template
echo '<p class="alignright"><a class="button" href="' . get_edit_post_link( get_the_ID() ) . '">Edit Post</a></p>';