Sticky CTA Button adds customizable floating Call-to-Action buttons and a back-to-top button to your website. Version 2.0 introduces a second CTA button and a responsive mobile/tablet action bar that pins your buttons to the edge of the screen on smaller devices.
Everything is configured from a clean, tabbed settings screen with a native WordPress color picker and a live preview.
Features
- Two CTA buttons – Configure a primary and an optional second call-to-action, each with its own text, icon, link, target and colors.
- Back-to-Top button – Smooth scrolling back to the top with selectable icons.
- Responsive mobile action bar – On phones and tablets the CTAs turn into a full-width bar pinned to the bottom (or top) edge of the screen, while the back-to-top button floats above it. The activation breakpoint (phones, tablets or small laptops) is selectable.
- Flexible desktop layout – Stack the buttons vertically or place them side by side, anchored to any of 8 screen positions with custom offsets.
- Display behavior – Show the buttons immediately or reveal them after the visitor scrolls down.
- Styling – Optional custom corner radius; lightweight emoji-based icons with no external font dependency.
- Tabbed, professional settings – Organized into Buttons, Position & Layout, Mobile Bar and Styling, with a live preview and the native WordPress color picker.
- Accessibility – Real button element for back-to-top, keyboard focus styles, reduced-motion and high-contrast support.
- Performance – Dependency-free vanilla JavaScript with throttled scroll handling; assets load only when a button is enabled.
- Translation ready – All strings are translatable via the
sticky-cta-button text domain.