ACF RRule Field

Descrição

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.

Imagens de tela

  • RRule field example

Instalação

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

Avaliações

13 junho, 2022 1 resposta
This plugin did exactly what I wanted. It is awesome! Not sure why it doesn't have thousands of active installs.
Leia todas as 4 avaliações

Colaboradores e desenvolvedores

“ACF RRule Field” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores

“ACF RRule Field” foi traduzido para 5 localizações. Agradecemos aos tradutores por suas contribuições.

Traduzir “ACF RRule Field” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações

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