1.2 KiB
1.2 KiB
Scroll to Top - WordPress Plugin
A customizable scroll-to-top button for WordPress websites.
Installation
- Upload the
scroll-to-top-qg1efolder to your WordPress/wp-content/plugins/directory - Activate the plugin through the "Plugins" menu in WordPress
- Configure settings via Settings > Scroll to Top
Features
- Three Button Styles: Circle, Arrow, or Text ("Top")
- Custom Colors: Choose background and text/icon colors
- ** Adjustable Size**: Small, Medium, or Large
- Position Options: Bottom-right or Bottom-left
- Mobile Toggle: Show or hide on mobile devices
- Smooth Scrolling: Animated scroll to top
- Live Preview: See changes in real-time in the admin panel
How It Works
The button appears automatically when visitors scroll down the page (after 200px). Clicking it smoothly scrolls to the top of the page.
Files
scroll-to-top.php- Main plugin fileadmin/settings-page.php- Settings page HTMLassets/admin.css- Admin panel stylesassets/admin.js- Admin panel JavaScript with live previewassets/frontend.css- Frontend button stylesassets/frontend.js- Frontend scroll functionality
License
GPL v2 or later