-
Notifications
You must be signed in to change notification settings - Fork 5
/
readme.txt
112 lines (78 loc) · 2.47 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
=== ACF RRule Field ===
Contributors: marcbelletre
Tags: acf, rrule, recurrence, date, calendar
Requires at least: 4.7
Tested up to: 6.4
Requires PHP: 7.2
Stable tag: 1.5.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Create recurring rules within a single ACF field and retrieve all the dates.
== Description ==
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.
1. Upload `acf-rrule` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Create a RRule field in an ACF field group
4. Use `get_field('field_name')` to get an array representation of your recurring rule
== Screenshots ==
1. 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 =
* Fix Javascript error
= 1.4.1 =
* Update translation files
= 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 =
* Fix validation on drafts
= 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 =
* Bug fix
= 1.2.4 =
* Fix undefined variable
= 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 =
* Fix plugin textdomain
= 1.1 =
* Add field validation
= 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 =
* First stable release