Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
WPFront Scroll Top icon

WPFront Scroll Top

v3.1.0
by Syam Mohan · 4.9 (141 reviews)

WPFront Scroll Top plugin allows the visitor to easily scroll back to the top of the page.

100K+ active installs Updated Nov 29, 2026 Tested to 7.2 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card

About WPFront Scroll Top

The WPFront Scroll Top plugin allows users to easily scroll back to the top of a webpage. It has customizable options and supports different types of buttons, including text, image, and Font Awesome. Additional features include the ability to link to specific elements within a page, hide on small devices, and auto hide. For more information, visit the WPFront Scroll Top Settings page.

Screenshots

WPFront Scroll Top screenshot

Frequently asked questions

What does the WPFront Scroll Top plugin do?
The WPFront Scroll Top plugin adds a customizable "Scroll to Top" button to your WordPress site. This button appears as users scroll down and disappears when they return to the top, allowing visitors to easily scroll back to the top of the page.
Is the WPFront Scroll Top plugin customizable?
Yes, the plugin offers extensive customization options. You can choose custom icons, button position, color, and animation, and set intelligent display rules without any coding.
Does the WPFront Scroll Top plugin affect website performance?
No, the plugin is designed for speed and optimized performance. It utilizes Async JavaScript to ensure fast page loading.
Is the WPFront Scroll Top plugin mobile-friendly?
Yes, the plugin includes responsive controls. It has an option to hide the button on smaller devices or windows for a better mobile user experience.
Can I use my own images for the scroll-to-top button?
Yes, you can use any image URL for complete branding control. The plugin allows you to choose between text, custom images (PNG/SVG), or Font Awesome icons for the button design.

Changelog

4.0.0

  • Major rewrite — modern, dependency-free codebase for faster performance and long-term maintainability.
  • Removed jQuery dependency: frontend now uses vanilla JavaScript with requestAnimationFrame + easeInOutQuad smooth scroll; smaller bundle and no jQuery conflicts.
  • Completely redesigned settings UI using WordPress Components: tabbed and searchable, grouped fields, color pickers, image grid, media-library integration and debounced REST search for pages.
  • PHP 7.4+ and WordPress 6.0+ required; PSR-4 namespaced code with strict types and DI container (src/).
  • Font Awesome now bundled locally under assets/vendor/font-awesome/ (previously maxcdn) and enqueued only when needed; handle renamed to wpfront-scroll-top-font-awesome.
  • Frontend rendering changed from JS-injected markup on window.load to server-rendered markup.
  • Smooth-scroll supports custom container selectors, element offsets and multi-container targets; negative durations/offsets are clamped for safety.
  • Dynamic CSS handling: base styles from assets/bundle/scroll-top.css plus dynamic rules cached to uploads/wpfront-scroll-top/style.css when enabled (mtime-versioned, file via WP_Filesystem) with inline fallback.
  • Page-display filter extended with keyword tokens category, author, tag, search, archive and home now matches is_front_page() || is_home() (previously is_home() only); stored ID lists remain compatible.
  • Color validation widened to accept rgba(), #RGBA and #RRGGBBAA; text/selector fields now sanitized with sanitize_text_field.
  • Lifecycle improvements: installer/updater with wpfront-scroll-top-version option, update lock transient, dynamic-CSS regeneration on update, activation redirect and multisite-aware uninstall (removes settings, version option and uploads/wpfront-scroll-top/).
  • Caching: automatic purge for WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Fastest Cache, SG Optimizer, Breeze, Cache Enabler, FlyingPress and others on save/activate/deactivate; added wpfront_scroll_top_clear_cache action.
  • Accessibility/SEO: semantic button/a container, aria-label/title/screen-reader-text handling preserved with empty-value skipping and default fallback.
  • Developer note: old globals and AJAX endpoint changed — wpfront_scroll_top_data.data flat wpfrontScrollTopData, and wpfront_scroll_top_submit_data (AJAX) REST; please update custom integrations.

3.1.0

  • Added version switching between v3 (Legacy) and v4. An admin notice on the settings page allows administrators to toggle between versions with a single click.
  • New installations now default to v4. Sites with existing settings continue to use v3 (Legacy) unless switched.
  • Font Awesome is now marked as deprecated in the v3 settings UI; existing Font Awesome configurations continue to work.
  • Minimum requirements updated to WordPress 6.0 and PHP 7.4.

3.0.1

  • Defect fix.

3.0.0

  • Breaking changes are introduced. Please verify the display after the upgrade.
  • These breaking changes are needed for accessibility and SEO friendly markup.
  • The container will either be a button or an anchor element.
  • There could be multiple span inside the container depending on your configuration.
  • Minimum PHP version required is 7.2.
  • Accessibility and more CSS settings are available.
  • Deprecated settings are removed.

2.2

  • Compatibility fixes.

2.1.1

  • Bug fix.

2.1

  • [Deprecated] Small device settings.
  • New UI.
  • Title HTML attribute.
  • PHP compatibility fixes.
  • HTML validation fixes.
  • Performance improvements.

2.0.7

  • XSS fix. Thanks to ‘Vlad Visse’.

2.0.6

  • XSS fix. Thanks to ‘Asif Nawaz Minhas’.

2.0.5

  • XSS fix.

2.0.4

  • WP compatibility fix.

2.0.3

  • jQuery deprecation fixes.
  • Compatibility fixes.
  • SiteGround conflict fix.

2.0.2

  • Fixes WordPress 5.2 site health, wp_version_check, conflict.

2.0.1

  • Link to element.
  • Link to page.
  • Select image from media library easily.
  • Performance improvements.

1.6.2

  • Requires minimum PHP 5.3.
  • Bug fixes.
  • Moved menu under ‘Settings’ menu.
  • PHP 7.2 compatibility fixes.

1.6.1

  • Undefined variable fix.

1.6

  • Font Awesome icons support.
  • New image icons.
  • Setting for moving menu under ‘Settings’.
  • Performance improvement.
  • UI improvement.
  • PHP 7 compatibility fixes.

1.5

  • JavaScript async.
  • Minified files.
  • Language files removed.

1.4.5

  • Ukrainian translation added. Thanks to Ivanka Skakun.

1.4.4

  • Zerif theme compatibility fix.

1.4.3

  • Media upload bug fix.

1.4.2

  • Bug fixes.
  • German language added.

1.4.1

  • Bug fixes
  • Russian language added

1.4

  • Image ALT attribute
  • Language translations

1.3

  • Auto hide
  • Hide on wp-admin
  • Hide on iframes
  • Pages/posts filter

1.2

  • Text button option
  • Bug fixes

1.1.1

  • Stability improvements
  • New menu structure

1.1

  • New option to hide on mobile devices
  • Fixed conflicts with other plugins

1.0.1

  • Bug fixes

1.0

  • Initial release

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…