WordPress “Back to Top” function

Wordpress Back to Top function

This function “Back to the top” is just a small feature, but its effect is not small, it can help visitors quickly back to the top from the bottom of the page, greatly improving the user experience, more friendly for the readers to read. Especially for some special long page, the “Back to Top” is necessary.

But the function is small functions, you can solve the problem, but only use a line of code. So I suggest that you use code to achieve this function like me, although no suspension buttons, but the function was achieved.

In the File footer.php,<div id=”footer”>… …</ div>┬áthe proper location, to insert the following code to achieve the “Back to the top of the page” functionality.

Leave a Reply

Your email address will not be published.