ACF RRule Field

Описание

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.

Скриншоты

  • RRule field example

Установка

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

Отзывы

13.06.2022 1 ответ
This plugin did exactly what I wanted. It is awesome! Not sure why it doesn’t have thousands of active installs.
Посмотреть все 4 отзыва

Участники и разработчики

«ACF RRule Field» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«ACF RRule Field» переведён на 5 языков. Благодарим переводчиков за их работу.

Перевести «ACF RRule Field» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.5.3

  • Fix issue with end date

1.5.2

  • Fix timezone issue

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