WordPress #15: Adding ‘Back’ button on article page

Probably the most useless feature in the blog, but I just like it.

Open single.php, add the following inside the while loop,

<a href="#" onclick="history.back()">&#8592 Go Back</a>
Pict 1. Go back link

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *