ACF RRule Field Plugin
Create recurring rules within a single ACF field and retrieve all the dates.
This plugin allows you to create recurring rules within a single ACF field.
Just add a RRule field in an ACF field group and use the interface to create a period like you would do in any agenda. The field will automatically generate the corresponding RRule string and save it in database. You can then retrieve all the dates for the period with a single call to the get_field()
function.
Installation
This plugin requires ACF or ACF Pro to work.
- Upload
acf-rrule
to the /wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Create a RRule field in an ACF field group
- Use
get_field('field_name')
to get an array representation of your recurring rule
Screenshots
RRule field example
Changelog
1.5.1
- Fix montlhy frequency preselection
1.5.0
- Add “Fifth” option to weekdays
- Add missing translations
1.4.2
1.4.1
1.4.0
- Add
first_date
and last_date
attributes to the return value
1.3.4
- Remove DTEND attribute from RRULE string (fixes a compatibility issue with rrule.js package)
1.3.3
- Fix compatibility with PHP >= 7.2
1.3.2
1.3.1.1
- Upload new tag for wpackagist
1.3.1
- Add support for php >= 7.2
1.3.0
- Add time picker options
- Fix compatibility with ACF Extended plugin
- Fix selection not being reflected in the calendar
1.2.5
1.2.4
1.2.3
- Fix checkboxes selection not showing up
- Fix end date not being set when using the count option
1.2.2
- Improve field validation
- Fix spelling
- Update dependencies
1.2.1
- Fix a bug when the timezone is not set
- Update dependencies
1.2
- Enable multi selection for weekdays options
1.1.1
1.1
1.0.4
- Add a “No end date” option
- Fix a bug when the timezone is not set
1.0.3
- Update french translation
1.0.2
- Fix a PHP error when the start date field is not set
1.0.1
- Fix a PHP warning when using a number of occurrences.
1.0