Back To The Top Button source code
By YYDevelopment, on WordPress.org since 2020. 4,000+ active installs.
The back to the top button plugin will allow you to add a button on your site that will allow your visitor to go to the top of the page when they click on it. Below is its source code for every one of its 28 releases, what changed in the latest one, and how often it ships.
What changed in 2.3.0
Released Nov 25, 2026, 4 months after 2.1.9- Added the ability to upload svg files as well as images
8 files changed since 2.1.9: 7 modified, 1 added, 0 removed.
- front-end/yydev-back-to-top.js modified, -3 bytes
- include/admin-output.php modified, +3,823 bytes
- include/front-end-output.php modified, +3,036 bytes
- include/install.php modified, +205 bytes
- include/scripts.php modified, +3,607 bytes
- index.php modified, same size
- readme.txt modified, +72 bytes
- images/back-to-top.svg added
Release history
28 releases since June 2026- 2.3.0 Nov 25, 2026 Added the ability to upload svg files as well as images
- 2.1.9 Jun 28, 2026 Fixed broken access control vulnerability
- 2.1.8 Jun 28, 2026 Fixed warning on php 8.0
- 2.1.7 Jun 28, 2026
- 2.1.6 Jun 28, 2026 Remove XSS problem on background option