A feature-rich WordPress plugin that displays a sticky Call-to-Action (CTA) button on all devices, allowing visitors to instantly connect or take action. The button can be fully customized in terms of position, display times, colors, and target actions.
- Device Selection: Display the button on mobile devices, desktops, or both
- Position Control: Place the button in any of the 8 positions (top, middle or bottom, combined with left, center or right)
- Scheduling Options: Configure the button to display on specific days and during specific hours
- Visibility Rules: Show or hide the button based on various conditions
- Multiple Link Types:
- Phone calls (
tel:
links) - Email links (
mailto:
links) - SMS messages (
sms:
links) - Regular URLs (
http/https
links)
- Phone calls (
- Target Control: Open links in the same tab or a new tab
- Material Icons: Choose from a variety of Material Design icons for the button
- Custom Styling:
- Button background color
- Icon color
- Text color
- Font weight
- Custom CSS classes and IDs
- Animation Effects: Configurable pulsing animation with adjustable timing
- Debug Mode: Enable console logging for troubleshooting
- REST API Integration: Settings are exposed via a REST API endpoint for advanced integrations
- Cache Prevention: Implements measures to avoid caching issues
- High Performance: Optimized JavaScript for minimal impact on page load speed
- Mobile Optimization: Responsive design ensures proper display on all device sizes
- Time-Based Visibility: Automatically shows/hides the button based on configured time ranges
- Go to Plugins → Add New in your WordPress admin panel
- Search for "Wordpress CTA Button"
- Click "Install Now" and then activate the plugin
- Download the plugin from GitHub repository
- Upload the plugin files to the
/wp-content/plugins/sticky-phone-button
directory, or install the plugin through the WordPress plugins screen directly - Activate the plugin through the 'Plugins' screen in WordPress
- Configure the plugin settings via the 'Wordpress CTA Button' option in the WordPress Settings menu
- WordPress 5.0 or higher
- PHP 7.2 or higher
- Modern web browser
- Navigate to Settings → Wordpress CTA Button in your WordPress admin panel
- Choose the devices you want to display the button on (mobile, desktop, or both)
- Select the link type (phone, email, URL, SMS)
- Enter the link value (phone number, email address, URL, etc.)
- Choose the button position on the screen
- Configure the CTA text (if needed)
- Select days and hours for button display
- Customize colors and icon
- Add custom CSS classes or IDs for additional styling
- Enable debug mode for troubleshooting
- Adjust blink animation timing
- Configure font weight and text appearance
The plugin includes several debug parameters that can be added to any page URL to test functionality:
?debug=1
: Forces the button to show regardless of device settings?alwaysShowCTA=1
or?forceCTA=1
: Always displays the button ignoring time-based rules?forceInit=1
: Forces button initialization
The plugin exposes settings via a REST API endpoint:
/wp-json/sticky-phone-button/v1/settings
For backward compatibility, an Ajax endpoint is also available:
/wp-admin/admin-ajax.php?action=sticky_phone_button_get_settings
The button is rendered with the following HTML structure:
<div id="sticky-cta-container" class="sticky-phone-button sticky-position-class custom-class" style="custom-styles">
<a href="link-target" target="_blank" class="sticky-phone-button-link">
<span class="material-symbols-outlined">icon_name</span>
<span class="sticky-phone-button-text">CTA Text</span>
</a>
</div>
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Mobile browsers (iOS Safari, Android Chrome)
- Added Material Icons integration
- Improved caching prevention
- Enhanced debug mode functionality
- Added REST API endpoint
- Initial release with core functionality
- Added scheduling options
- Implemented customization features
Free to Use - GPL v2
This plugin is released under the GPL v2 (GNU General Public License version 2) or later.
- You are free to use, modify, and distribute the plugin
- If you distribute modified versions, you must keep them under GPL
- The source code must be made available
- No warranty is provided
This plugin is free to use for all purposes. However, if you need an invoice or official documentation for your commercial use, please purchase a license.
- One-time payment for a single domain
- Includes official invoice for business documentation
- No recurring fees
- Business Benefits:
- Tax-deductible expense for your company
- Proper accounting documentation for audits
- Proof of legal software acquisition
- Compliance with business software regulations
- Priority email support
- Purchase online: Buy license with invoice
Developed by Wirtualny Handlowiec
For support or feature requests, please contact the developer through the website: http://wirtualnyhandlowiec.pl/