A WordPress plugin that allows administrators to create multiple calendar restrictions for Fluent Forms with disabled dates and dynamic date range selection.
Global Date Blocker enables you to create unlimited calendar restriction configurations for different Fluent Forms. Each restriction can have its own disabled dates and field targeting, making it perfect for booking systems, event management, and appointment scheduling.
- Multiple Calendar Restrictions: Create unlimited configurations using WordPress Custom Post Types
- Per-Form Configuration: Target specific Fluent Forms with individual settings
- Visual Date Selection: Admin calendar interface for selecting disabled dates
- Dynamic Date Logic: Intelligent check-in/check-out restrictions
- Multi-Form Support: Independent operation for multiple forms on the same page
- Clear Date Buttons: User-friendly date clearing functionality
- Performance Optimized: Scripts load only when needed
- WordPress 5.0+
- PHP 7.4+ (8.0+ recommended)
- Fluent Forms plugin
- Download the plugin
.zipfile - Upload via
Plugins>Add New>Upload Plugin - Activate the plugin
- Navigate to
Calendar Restrictionsto create your first restriction
- Go to
Calendar Restrictions>Add New - Set a descriptive title
- Configure:
- Target Fluent Form ID: The form ID number
- Check-in Field Name: Name attribute of check-in field
- Check-out Field Name: Name attribute of check-out field
- Select disabled dates on the calendar
- Publish the restriction
- Edit your target form in Fluent Forms
- Add two Date/Time fields for check-in and check-out
- Set the Name Attribute for each field to match your restriction settings
- Save the form
Title: "Hotel Room A"
Form ID: 3
Check-in Field: "room_checkin"
Check-out Field: "room_checkout"
Title: "Conference Hall"
Form ID: 5
Check-in Field: "event_start"
Check-out Field: "event_end"
Title: "Camera Equipment"
Form ID: 7
Check-in Field: "rental_start"
Check-out Field: "rental_end"
The plugin uses WordPress Custom Post Types to store calendar restrictions. Each restriction contains:
- Target form configuration
- Field name mappings
- Array of disabled dates
Frontend JavaScript applies restrictions dynamically:
- Disables specified dates
- Implements check-in/check-out logic
- Manages date interdependencies
- Handles multiple forms independently
Version 2.0 replaces the global settings system with Custom Post Types:
- Create new Calendar Restrictions with your previous settings
- Test functionality
- Old settings remain in database but aren't used
This project is open source under the MIT License. Contributions welcome!
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a Pull Request
MIT License - see LICENSE file for details.
For issues and questions:
- GitHub Issues: Report bugs and feature requests
- Documentation: Check INSTALLATION.md for detailed setup instructions

