by Tap Chat Team on WordPress.org
Advanced back-to-top button with 6 unique shapes, smooth animations, and smart scroll library detection for WordPress.

Admin Settings v1.3.0 - New button shapes and animation options
Tap Top goes far beyond simple back-to-top plugins by solving real problems that modern WordPress sites face with scroll libraries and complex layouts.
β¨ 6 Unique Button Shapes
* Circle (Classic round button)
* Square (Modern angular design)
* Rounded Square (Soft corners)
* Pill (Capsule/oblong shape)
* Pentagon (5-sided polygon)
* Hexagon (6-sided polygon)
π¬ 6 Smooth Animation Styles
* Fade (Classic smooth fade)
* Slide (Slides up from bottom)
* Scale (Zoom in/out effect)
* Bounce (Playful bounce animation)
* Rotate (Spinning entrance)
* Flip (3D flip effect)
π Smart Hide on Scroll Down
* Automatically hides button when scrolling down
* Reappears instantly when scrolling up
* Reduces visual clutter and improves UX
* Smooth transitions with accessibility support
Library-Aware Scroll Behavior
* Automatic Detection: Detects Lenis, Locomotive Scroll, and SmoothScrollbar automatically
* Native API Integration: Uses each libraryβs public API to avoid conflicts and broken behavior
* Multi-Container Support: Works with nested scroll containers and page builder layouts
* Graceful Fallback: Custom smooth scroll for sites without these libraries
Universal Anchor Link Fixes
* Cross-Library Normalization: Makes anchor links work consistently across all scroll libraries
* Smart Offset Detection: Automatically accounts for sticky headers and fixed elements
* In-Page TOC Support: Ensures table of contents and anchor navigation work perfectly
* Hash URL Handling: Proper deep-linking support with smooth scrolling
Adaptive Positioning & Obstruction Avoidance
* Smart Detection: Automatically detects cookie banners, chat widgets, and other fixed elements
* Dynamic Repositioning: Moves button to avoid overlapping with other interface elements
* Mobile Safe Areas: Full support for iPhone notches, Android punch-holes, and gesture areas
* ResizeObserver Integration: Responds to layout changes in real-time
Accessibility-First Design
* Motion Preferences: Respects prefers-reduced-motion setting automatically
* Screen Reader Support: Proper ARIA labels and semantic markup
* Keyboard Navigation: Full keyboard accessibility support
* High Contrast Mode: Enhanced visibility in high-contrast and forced-colors modes
* Focus Management: Proper focus handling and visual indicators
Advanced Gutenberg Integration
* Full Site Editor Support: Works perfectly with block themes and site editing
* Per-Template Overrides: Different settings for different templates and pages
* Live Preview: Real-time preview in the block editor
* Flexible Display Modes: Global, Block-Only, or Hybrid approaches
Performance & Modern Development
* Zero Dependencies: No jQuery or external libraries required
* Efficient Loading: Idle-until-visible and intelligent loading strategies
* GPU Acceleration: Hardware-accelerated animations where supported
* Minimal Footprint: Lightweight code with maximum functionality
Tested and Verified:
* β
Lenis (v1.0+) β Automatic detection and native API integration
* β
Locomotive Scroll (v4.x and v5.x) β Full compatibility with both versions
* β
SmoothScrollbar (v8.x) β Native API usage for smooth integration
* β
Custom Scroll Containers β Detects nested and custom implementations
* β
Native Browser Scrolling β Enhanced smooth scrolling fallback
Global Mode
* Traditional site-wide button with centralized settings
* Show/hide rules based on page types
* Content exclusion system for specific pages
* Perfect for sites that want consistent behavior everywhere
Block-Only Mode
* Use Gutenberg blocks for complete per-page control
* Each block has independent settings (colors, position, behavior)
* No global button β only blocks you explicitly add
* Ideal for complex sites with varied requirements
Hybrid Mode
* Global settings provide the default behavior
* Blocks override global settings on pages where they exist
* Best of both worlds β consistency with flexibility
* Recommended for most professional sites
Scroll Progress Ring
* Beautiful circular progress indicator around the button
* Shows exact scroll progress (0-100%)
* Fully customizable colors, width, and background
* Automatically disabled for users with motion sensitivity
* Smooth 60fps animations with performance optimization
Smart Positioning
* Automatic detection of cookie banners, chat widgets, sticky headers
* Dynamic repositioning to avoid interface conflicts
* Mobile-first design with safe-area insets
* Responsive behavior across all device sizes
* Smooth transitions when obstacles appear/disappear
Comprehensive Customization
* Position control (left/right with pixel-perfect offsets)
* Size adjustment (24px to 80px)
* Color customization (background, icon, progress ring)
* Animation timing and easing preferences
* Show/hide conditions and page-specific rules
* 6 unique button shapes
* 6 smooth animation styles
* Smart hide on scroll down behavior
Mobile Optimization
* iPhone safe-area support (notches, Dynamic Island)
* Android safe-area support (punch-holes, gesture bars)
* Touch-optimized button sizing and positioning
* Responsive design that adapts to orientation changes
Cross-Browser Compatibility
* Modern browsers with ES6+ support
* Graceful degradation for older browsers
* Progressive enhancement approach
* Tested on iOS Safari, Chrome, Firefox, Edge
Loading Optimization
* Lazy initialization β only loads when needed
* Intelligent asset enqueueing based on page content
* Minimal DOM impact with efficient event handling
* CPU-friendly animations with proper throttling
Memory Management
* Automatic cleanup when elements are removed
* Efficient event listener management
* ResizeObserver with proper disposal
* No memory leaks or performance degradation
Circle (Classic):
β Perfect for traditional designs
β Universal recognition
β Clean and simple
Square (Modern):
β Sharp, angular aesthetic
β Contemporary design
β Stands out on page
Rounded Square:
β Friendly, approachable
β Balanced between sharp and soft
β Popular in modern UIs
Pill (Capsule):
β Elongated shape
β Modern app-like feel
β Great for minimal designs
Pentagon:
β Unique 5-sided polygon
β Geometric visual interest
β Distinctive appearance
Hexagon:
β 6-sided polygon
β Technical/modern aesthetic
β Popular in tech designs
Fade (Recommended):
β Smooth, subtle appearance
β Universal compatibility
β Low motion impact
Slide:
β Slides up from bottom
β Clear directional cue
β Engaging entrance
Scale:
β Zoom in/out effect
β Draws attention
β Modern feel
Bounce:
β Playful, energetic
β Fun animation
β Good for casual sites
Rotate:
β Spinning entrance
β Eye-catching
β Unique effect
Flip:
β 3D perspective effect
β Most dramatic
β Modern browsers only
All animations automatically disabled for users with prefers-reduced-motion setting.
How It Works:
1. Button appears when scrolling up
2. Button hides when scrolling down
3. Reduces visual clutter during reading
4. Smooth transitions with chosen animation
5. Improves overall UX
Best Practices:
β Works great with Slide or Fade animations
β Ideal for content-heavy sites
β Reduces distraction during reading
β Users can still access by scrolling up
Filters:
β taptop_global_config β Modify global configuration
β taptop_block_attributes β Customize block defaults
β taptop_should_load β Control when assets load
β taptop_excluded_pages β Programmatically exclude pages
Actions:
β taptop_before_button_render β Before button initialization
β taptop_after_assets_enqueue β After assets are loaded
Tap Top respects user privacy and GDPR compliance:
No Data Collection:
β Plugin does not collect any personal data
β No external API calls or data transmission
β No user tracking or analytics
β No cookies or local storage usage
Local Functionality:
β All settings stored in WordPress options table
β JavaScript runs entirely client-side
β No external dependencies or CDN usage
β Respects userβs motion and accessibility preferences
Special thanks to:
β WordPress community for feedback and testing
β Accessibility consultants for WCAG compliance guidance
β Modern scroll library maintainers for API documentation
β Beta testers who helped refine the user experience
β Design inspiration from modern web applications