=== WPFront Scroll Top ===
Contributors: syammohanm
Donate link: http://wpfront.com/donate/
Tags: scroll to top, back to top, scroll top, scroll up, smooth scroll
Requires at least: 5.3
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 3.0.1
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Adds a lightweight and smooth "Scroll to Top" button to your WordPress site, improving navigation and user experience with customizable options.

== Description ==
Enhance user experience and site navigation with a lightweight, customizable "Scroll to Top" button. This plugin adds a smooth-scrolling button that appears as users scroll down the page and disappears when they return to the top.

Designed for speed and seamless integration, it works with any WordPress theme and includes options for custom icons, button position, color, animation, and intelligent display rules. No coding required—just install and configure in minutes.

Perfect for blogs, long-form articles, eCommerce sites, or any website where easy navigation improves usability.

### Key Features & Customization
* **Intelligent Display**: Automatically appears as users scroll down, then disappears when at the top.
* **Smooth Scroll Animation**: Provides a fluid and pleasant "back to top" experience.
* **Flexible Destinations**:
    - Internal Page Scroll: Link the button to any specific element within the current page.
    - External Page Redirection: Redirect users to any other page or URL.
* **Customizable Button Design**:
    - Choose between text, custom image (PNG/SVG), or Font Awesome icons.
    - Use any image URL for complete branding control.
* **Responsive Control**:
    - **Mobile-Friendly**: Option to hide the button on smaller devices/windows for better mobile UX.
    - **iFrame Compatibility**: Ensures it doesn't appear inappropriately within iframes.
* **Targeted Visibility**: Easily show or hide the button on specific pages or posts.
* **Temporary Display**: Auto-hide the button after a set duration for a cleaner interface.
* **Optimized Performance**: Utilizes Async JavaScript to ensure fast page loading.
* **Accessibility Focused**: Built with ARIA labels and screen reader text for inclusive navigation.
* **SEO-Friendly Markup**: Employs semantically correct HTML elements for optimal search engine and accessibility performance.
* **Optimized Performance**: Adds functionality without slowing down your site.
* **Easy-to-Use Admin Panel**: Configure all settings intuitively from your WordPress dashboard.

== Installation ==

1. Click Plugins/Add New from the WordPress admin panel.
1. Search for "WPFront Scroll Top" and install.
1. Configure plugin using **Scroll Top** link under **Settings** menu.

== Frequently Asked Questions ==

1. **What is the "Scroll to Top" button, and how does it work?**
The "Scroll to Top" button is a convenient navigation feature that appears on your website as users scroll down a page. With a single click, it allows them to effortlessly return to the top of the page with a smooth, animated scroll, significantly improving the user experience, especially on long-form content.

1. **Is the "Scroll to Top" button always visible?**
No. The button gracefully appears only after a user has scrolled down a certain distance on the page and disappears when they are at the top, ensuring it doesn't obstruct content unnecessarily. You can also configure an Auto-Hide feature to make it disappear after a few seconds of inactivity.

1. **Can I customize the design of the button?**
You can choose to use simple text, select from a wide range of Font Awesome icons, or upload your own custom image (PNG or SVG) to perfectly match your website's branding. You also have full control over its position, size, colors, and hover effects.

1. **Can the button link to something other than the top of the page?**
Besides scrolling to the top, you can configure the button to:
    * Link to an In-Page Element: Direct users to a specific section or HTML element (like an anchor point) anywhere on the current page.
    * Redirect to a Different URL: Use the button to send users to another page on your site or even an external website.

1. **Can I control where the button appears on my website?**
You can easily enable or disable the "Scroll to Top" button on specific pages, posts, or custom post types through the plugin's settings, giving you full flexibility over its visibility.

1. **Is the plugin accessible for all users?**
The plugin is built with proper ARIA labels and includes screen reader text, ensuring that users relying on assistive technologies can navigate your site effectively and experience the benefits of the button.

== Screenshots ==

1. Settings page. 

== Changelog ==

= 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 attibute.
* 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

== Upgrade Notice ==

= 3.0.1 =
* Defect fix.

= 3.0.0 =
* Breaking changes are introduced. Please verify the display after the upgrade.

= 2.2 =
* Compatibility fixes.

= 2.1.1 =
* Bug fix.

= 2.1 =
* Performance improvements.

= 2.0.7 =
* XSS fix.

= 2.0.6 =
* XSS fix.

= 2.0.5 =
* XSS fix.

= 2.0.4 =
* Compatibility fix.

= 2.0.3 =
* Compatibility fixes.

= 2.0.2 =
* Bug fix.

= 2.0.1 =
* New features added.

= 1.6.2 =
* Bug and compatibility fixes.

= 1.6.1 =
* Bug fix.

= 1.6 =
* Performance improvements and new features added.

= 1.5 =
* Performance improvements.

= 1.4.5 =
* Language translation added.

= 1.4.4 =
* Compatibility fix.

= 1.4.3 =
* Bug fix.

= 1.4.2 =
* Bug fixes.

= 1.4.1 =
* A couple of bug fixes

= 1.4 =
* Now you can set alt attribute for image

= 1.3 =
* Now you can auto hide it
* Hide on wp-admin/iframes
* Pages/posts filter added

= 1.2 =
* Text based button added

= 1.1.1 =
* Improved stability

= 1.1 =
* New option to hide on mobile devices
* Fixed conflicts with other plugins

= 1.0.1 =
* Bug fixes

= 1.0 =
* Initial release


