=== Onclick to Top - Smooth Scroll To Top, Back to Top, Scroll Top ===
Contributors: mdakashahmed
Donate link: 
Tags: back to top, scroll to top, scroll top, Onclick to Top, smooth scroll
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Elevate your website's user experience with Onclick to Top - the most advanced scroll-to-top button plugin for WordPress. Transform tedious scrolling into a seamless, beautiful journey back to the top.

== Description ==

**🚀 The Ultimate Scroll-to-Top Solution for WordPress**

Onclick to Top revolutionizes website navigation by providing a sophisticated, fully customizable scroll-to-top button that enhances user experience and engagement. Say goodbye to endless scrolling - with our intelligent plugin, users can effortlessly return to the top of any page or post with a single click.

**Why Choose Onclick to Top?**

✨ **Smart & Intuitive** - The button appears automatically when users scroll down, providing intuitive navigation without cluttering your design.

🎨 **Pixel-Perfect Customization** - Match every aspect of the button to your website's branding with our comprehensive styling options.

📱 **Mobile-First Design** - Optimized for all devices with responsive controls and touch-friendly interactions.

⚡ **Performance Optimized** - Lightweight code ensures your site stays fast while delivering premium functionality.

== 🔥 Premium Features ==

### 🎯 **Core Functionality**
* **Smart Scroll Detection** - Button appears automatically after user scrolls 100px (customizable)
* **Smooth Animations** - Elegant fade-in/out with customizable easing effects
* **Progress Indicator** - Visual scroll progress circle around the button
* **Keyboard Accessible** - Full keyboard navigation support (Enter/Space)

### 🎨 **Design & Customization**
* **Button Size Control** - Adjust from 30px to 100px with live preview
* **Color Customization** - Complete control over background, icon, hover, and border colors
* **Border Styling** - Solid, dashed, dotted borders with customizable width and radius
* **Icon Library** - Choose from multiple built-in icons or upload your own custom image
* **Position Control** - Left/Right alignment with pixel-perfect margin adjustments

### 📱 **Responsive Controls**
* **Device-Specific Display** - Show/hide on mobile, tablet, or desktop independently
* **Touch-Optimized** - Perfect draggable experience on touch devices
* **Admin Panel Support** - Enable button in WordPress admin area for quick navigation

### ⚙️ **Advanced Features**
* **Performance Settings** - Adjust scroll speed and animation duration
* **One-Click Reset** - Restore default settings instantly
* **Non-Intrusive** - Never interferes with your site's functionality


== 🎬 How to Use ==

### **Installation & Setup**
1. **Install Plugin** - Search for "Onclick to Top" in WordPress plugins and install
2. **Activate Plugin** - You'll be redirected to the settings page automatically
3. **Customize Settings** - Use our intuitive tabbed interface to configure every aspect

### **Quick Start Guide**

**📍 Step 1: Basic Setup**
* Go to `Settings → On Click to Top`
* Enable the button and choose which devices to show it on
* Set your preferred position (left/right)

**🎨 Step 2: Design Customization**
* Adjust button size and border radius
* Choose colors for background, icon, and hover states
* Select or upload your preferred icon

**⚙️ Step 3: Advanced Settings**
* Configure scroll behavior (offset and duration)
* Enable/disable progress indicator
* Set up draggable functionality
* Add custom CSS if needed

**✅ Step 4: Save & Enjoy**
* Click "Save Changes" to apply your settings
* Visit your site to see the beautiful scroll-to-top button in action
* Drag the button to your preferred position (if draggable is enabled)

### **Pro Tips**
💡 **Design Matching**: Use the color picker to match your brand colors exactly
💡 **Mobile Optimization**: Test different settings for mobile vs desktop
💡 **Performance**: Use shorter scroll durations for faster sites
💡 **Accessibility**: Ensure sufficient color contrast for visibility

== Frequently Asked Questions ==

### **Q1: Does Onclick to Top work with all WordPress themes?**
**A:** Yes! Onclick to Top is compatible with all modern WordPress themes including Divi, Astra, GeneratePress, OceanWP, and any custom theme. It uses proper WordPress hooks and follows best practices.

### **Q2: Will this plugin slow down my website?**
**A:** Not at all! The plugin is optimized for performance with minimal JavaScript and efficient CSS. All assets are loaded only when needed, and the code is lightweight.

### **Q3: Can I use my own custom icon/image?**
**A:** Absolutely! You can upload any PNG, JPG, or SVG image to use as your scroll-to-top button icon. The plugin automatically handles sizing and optimization.

### **Q4: Is the button mobile-friendly?**
**A:** Yes! The button is fully responsive and touch-optimized. You can control its visibility separately on mobile, tablet, and desktop devices.

### **Q5: Can I position the button anywhere on screen?**
**A:** Yes:
1. Use the position settings to set left/right and bottom margins

== 🔥 WHAT'S NEXT 🔥 ==

**✨ Expand Your WordPress Toolkit with Our Premium Plugins**

Looking to enhance your WordPress website with more powerful features? Check out these carefully crafted plugins from our team:

### 🛠️ **Easy Toolbar Visibility**
🎯 **Complete Control Over Admin Toolbar Access**

Take command of your WordPress admin interface! Easy Toolbar Visibility gives administrators granular control over who sees the admin toolbar on the frontend. Perfect for multi-author sites, client websites, or any scenario where you need to manage toolbar visibility.

**Key Features:**
* 📋 Role-based toolbar control
* 👤 User-specific visibility settings
* 🎯 Conditional display rules
* ⚡ Lightweight and efficient
* 🔒 Enhanced security and privacy

🔗 **Download:** [Easy Toolbar Visibility](https://wordpress.org/plugins/easy-toolbar-visibility/)

---

### 🖼️ **Soft Photo Gallery**
🎨 **Stunning Visual Galleries Made Simple**

Transform your photo collections into breathtaking galleries! Soft Photo Gallery is a powerful, flexible WordPress plugin that lets you create professional photo galleries with zero coding required. Perfect for photographers, artists, and anyone who wants to showcase visual content beautifully.

**Key Features:**
* 🎭 Multiple gallery layouts (grid, masonry, slideshow)
* 📱 Fully responsive design
* ⚡ Fast loading with lazy loading
* 🎨 Customizable hover effects
* 🔍 Lightbox with zoom functionality
* 📊 Gallery statistics and analytics

🔗 **Download:** [Soft Photo Gallery](https://wordpress.org/plugins/soft-photo-gallery/)

---

### 🎬 **Soft Video Gallery**
🎥 **Beautiful Video Galleries in Minutes**

Showcase your video content like never before! Soft Video Gallery is a lightweight yet powerful WordPress plugin that enables you to create stunning, responsive video galleries using MP4 videos from your WordPress media library. Ideal for content creators, educators, and businesses.

**Key Features:**
* 🎞️ MP4 video support from media library
* 📱 Mobile-optimized playback
* 🎨 Customizable player controls
* ⚡ Fast loading with preloading options
* 🔍 Search and filter capabilities
* 📊 Video analytics and insights

🔗 **Download:** [Soft Video Gallery](https://wordpress.org/plugins/soft-video-gallery/)

---

### 🌟 **Why Choose Our Plugins?**

✅ **User-First Design** - Intuitive interfaces that anyone can use  
✅ **Performance Optimized** - Lightweight code that won't slow down your site  
✅ **Regular Updates** - Continuous improvements and security updates  
✅ **Excellent Support** - Responsive support team ready to help  
✅ **100% Free** - All features available at no cost  
✅ **GPL Licensed** - Open source and fully customizable  


== Screenshots ==

1. **Modern Settings Interface** - Beautiful tabbed interface with live preview
2. **Appearance Customization** - Complete design controls with color pickers
3. **Position Settings** - Precise positioning controls with visual feedback
4. **Scroll Behavior** - Show/hide on different devices independently
5. **Progress Bar Settings** - Configure circular progress indicator
6. **Frontend View** - The beautiful button in action on a website

== Installation ==

### **Automatic Installation**
1. Log in to your WordPress admin panel
2. Navigate to `Plugins → Add New`
3. Search for "Onclick to Top"
4. Click "Install Now" and then "Activate"

### **Manual Installation**
1. Download the plugin zip file
2. Go to `Plugins → Add New → Upload Plugin`
3. Choose the downloaded file and click "Install Now"
4. Activate the plugin

### **Via FTP**
1. Extract the downloaded zip file
2. Upload the `onclick-to-top` folder to `/wp-content/plugins/`
3. Go to `Plugins` in WordPress admin and activate "Onclick to Top"

== Changelog ==

### **= 1.0.4 =**
* **UI IMPROVEMENTS** - Refined settings interface with better organization
* **PERFORMANCE** - Optimized JavaScript and CSS loading
* **COMPATIBILITY** - Improved compatibility with WordPress 6.8
* **ACCESSIBILITY** - Enhanced keyboard navigation and ARIA labels
* **BUG FIXES** - Fixed color picker issues and range sliders
* **MOBILE** - Improved touch handling for draggable feature

### **= 1.0.3 =**
* **🔥 NEW FEATURES ADDED**
  * 👆 Admin Panel Button - Quick access from WordPress dashboard
  * 🧭 Drag & Drop Positioning - Visual positioning with auto-save
  * 🖼️ Custom Icon Upload - Use your own images/icons
* **UI ENHANCEMENTS** - Modernized settings page design
* **PERFORMANCE** - Code optimization and bug fixes

### **= 1.0.2 =**
* **CSS FIXES** - Resolved styling conflicts with various themes
* **RESPONSIVE** - Improved mobile display settings
* **COMPATIBILITY** - Better theme compatibility

### **= 1.0.1 =**
* **🔥 NEW FEATURES**
  * Custom CSS settings for advanced users
  * Improved color picker integration
  * Enhanced preview functionality
* **BUG FIXES** - Minor stability improvements

### **= 1.0.0 =**
* **INITIAL RELEASE**
  * Basic scroll-to-top functionality
  * Customizable colors and sizes
  * Position controls
  * Progress indicator option


== Privacy Notice ==

Onclick to Top does not:
* Collect any personal user data
* Track user behavior
* Connect to external servers
* Store any analytics data

The plugin only stores your customization settings in your WordPress database and uses localStorage for draggable position saving (client-side only).

If you find this plugin useful and would like to support its development, consider making a donation. Your support helps us continue improving the plugin and adding new features.

**Thank you for choosing Onclick to Top!** 🚀