ACF RRule Field

Descrição

Este plugin permite-lhe criar regras de recorrência com um único campo ACF.

Basta adicionar um campo de ‘Regra de recorrência’ num grupo de campos ACF e usar a interface para criar um período como faria em qualquer agenda. O campo gera automaticamente a string correspondente e guarda-a na base de dados. De seguida poderá obter todas as datas do período com a função get_field().

Ecrãs

  • RRule field example

Instalação

Este plugin requer o ACF ou ACF Pro para funcionar.

  1. Upload acf-rrule to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Crie um campo de Regra de recorrência num grupo de campos do ACF
  4. Use a função get_field('nome_do_campo') para obter um array com a sua regra de recorrência.

Avaliações

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

Contribuidores e programadores

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

Contribuidores

“ACF RRule Field” foi traduzido para 5 locales. Obrigado aos tradutores pelas suas contribuições.

Traduza o “ACF RRule Field” para o seu idioma.

Interessado no desenvolvimento?

Consulte o código, consulte o repositório SVN, ou subscreva o registo de alterações por RSS.

Registo 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