Add customizable floating action buttons with animated icons to your WordPress site. Perfect for contact forms, social media links, customer support, and more.
- Visual Icon Picker: Choose from 150+ categorized Font Awesome icons without memorizing class names
- Multiple Animation Effects: Icon animations (pulse, bounce, rotate, flip) and button animations (fade, slide, zoom)
- Responsive Design: Mobile and desktop optimized with device-specific visibility controls
- Flexible Positioning: Choose from 4 corner positions with customizable spacing
- Layout Options: Vertical or horizontal button arrangements
- Custom Styling: Color picker for background and icon colors, circle or rounded button shapes
- Animation Delays: Staggered button appearances with customizable delays
- Tooltips: Optional hover tooltips for better user experience
- Drag & Drop Reordering: Easy button management with sortable interface
- Security: CSRF protection with WordPress nonces and proper data sanitization
- Download the plugin ZIP file
- Go to Plugins > Add New > Upload Plugin
- Choose the ZIP file and click Install Now
- Activate the plugin
- Upload the plugin folder to
/wp-content/plugins/ - Activate the plugin through the Plugins menu in WordPress
- Go to Settings > Floating Buttons in your WordPress admin
- Enable the floating buttons
- Configure global settings:
- Layout direction (vertical/horizontal)
- Button spacing
- Position (bottom-right, bottom-left, top-right, top-left)
- Add and customize buttons:
- Click "Choose Icon" to select from the visual icon picker
- Set label and action URL
- Customize colors and animations
- Configure device visibility
The visual icon picker includes icons organized into categories:
- Communication: Phone, email, WhatsApp, Telegram, chat, video calls
- Social Media: Facebook, Instagram, Twitter, LinkedIn, YouTube, TikTok
- Business: Briefcase, analytics, team, calendar, settings
- E-commerce: Shopping cart, payments, shipping, store, ratings
- Support: Help, customer service, documentation, bug reports
- Navigation: Arrows, menu, home, external links
- General: Search, download, edit, print, notifications
Phone: tel:+1234567890
Email: mailto:contact@yoursite.com
WhatsApp: https://wa.me/1234567890
Facebook: https://facebook.com/yourpage
Instagram: https://instagram.com/youraccount
Twitter: https://twitter.com/youraccount
Live Chat: https://your-chat-widget-url
Help Center: https://yoursite.com/help
Contact Form: https://yoursite.com/contact
- None: Static icons
- Pulse: Gentle scaling animation
- Bounce: Vertical bouncing effect
- Rotate: Continuous rotation
- Flip: Horizontal flip animation
- Fade: Smooth opacity transition
- Slide: Slide in from bottom/side
- Zoom: Scale in from center
- Device Visibility: Show buttons on all devices, mobile only, or desktop only
- Responsive Design: Automatically adapts to screen sizes
- Touch Friendly: Optimized button sizes for mobile interaction
- Accessibility: Keyboard navigation and screen reader support
- WordPress: 5.0 or higher
- PHP: 7.4 or higher
- Font Awesome: Loaded automatically from CDN
floating-action-buttons/
βββ assets/
β βββ admin.css # Admin interface styles
β βββ admin.js # Admin functionality & icon picker
β βββ frontend.css # Frontend button styles
β βββ frontend.js # Frontend interactions
βββ inc/
β βββ admin.php # Admin settings and forms
β βββ frontend.php # Frontend rendering
βββ floating-action-buttons.php # Main plugin file
βββ README.md # This file
The plugin uses standard WordPress hooks:
admin_init: Register settingsadmin_menu: Add settings pagewp_enqueue_scripts: Load frontend assetswp_footer: Render buttons
- Nonce Verification: CSRF protection for all form submissions
- Data Sanitization: All user inputs are properly sanitized
- Capability Checks: Admin access required for settings
- Output Escaping: All output is properly escaped
- URL Validation: Action URLs are validated
- β¨ NEW: Visual Font Awesome icon picker with 150+ icons
- β¨ NEW: Categorized icon selection (Communication, Social Media, Business, etc.)
- β¨ NEW: Real-time icon search and filtering
- β¨ NEW: Improved admin interface with better UX
- π§ IMPROVED: Enhanced security with nonce verification
- π§ IMPROVED: Better responsive design for admin panel
- π§ IMPROVED: Animation effects and visual feedback
- π FIXED: Version consistency across plugin files
- π§ IMPROVED: Code organization and file structure
- π§ IMPROVED: Better sanitization and validation
- π FIXED: PHP syntax errors in admin interface
- π FIXED: Asset loading and enqueuing issues
- π INITIAL: First release
- β¨ NEW: Basic floating action buttons functionality
- β¨ NEW: Color customization options
- β¨ NEW: Animation effects
- β¨ NEW: Responsive visibility controls
- β¨ NEW: Drag & drop button reordering
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- Clone the repository
- Make your changes
- Test with a local WordPress installation
- Submit a pull request
This project is licensed under the GPL v2 or later - see the LICENSE for details.
Abdul Owhab
- GitHub: @Owhab
- Plugin URI: https://github.com/Owhab/floating-action-buttons
If you encounter any issues or have questions:
- Check the Issues page
- Create a new issue with detailed information
- Include your WordPress and PHP versions
- Provide steps to reproduce the problem
If you find this plugin useful, please consider:
- β Starring the repository
- π Reporting bugs or issues
- π‘ Suggesting new features
- π€ Contributing code improvements
Made with β€οΈ for the WordPress community