ACF Repeater Field Query
Modify the Query to multiple dates with "Repeater Field" of "Advanced Custom Field" in a post.
by SECT INTERACTIVE AGENCY · github.com/sectsect/acf-repeater-field-query · website
★ 5stars
25composer installs
2forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/sectsect/acf-repeater-field-query/archive/refs/heads/master.zipAlso on Packagist as sectsect/acf-repeater-field-query:
composer require sectsect/acf-repeater-field-queryFrom the readme
ACF Repeater Field Query - For Events -
Modify the Query to multiple dates in a post For Advanced Custom Field "Repeater Field"
Features
For each Date and Time set in the Repeater Field, only the scheduled events are output to Archive Page.
- The Date and Time set in the Loop Field is outputted as one event.
- Displayed in order of the most recent event (ASC).
- Closed events is not outputted.
- Supply a function for calendar :date:
Requirements
PHP 5.3+
Activation Advanced Custom Field Plugin.
Create a Repeater Field, and Date Field in the Repeater Field w/ Advanced Custom Field Plugin.
A 6-pack of beer🍺 (optional, I guess.)
Installation
1. cd /path-to-your/wp-content/plugins/
2. git clone git@github.com:sectsect/acf-repeater-field-query.git
3. Activate the plugin through the 'Plugins' menu in WordPress.
You can access the some setting by going to Settings - ACF Repeater Field Query.
4. Setting Post Type Name, Repeater Field Name, Date Field Name in Loop Feld".
( Optional Field: Taxonomy Name, StartTime Field, FinishTime Field )
That's it:okhand:
The main query of your select post types will be modified.
Fields Structure Example
NOTES
Tested on A