CFS Loop-Field Query
Modify the Query to Multiple Dates in a post For Custom Field Suite "Loop Field".
by SECT INTERACTIVE AGENCY · github.com/sectsect/cfs-loop-field-query · website
★ 1stars
10composer installs
1forks
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/cfs-loop-field-query/archive/refs/heads/master.zipAlso on Packagist as sectsect/cfs-loop-field-query:
composer require sectsect/cfs-loop-field-queryFrom the readme
CFS Loop Field Query - For Events -
Modify the Query to multiple dates in a post For Custom Field Suite "Loop Field".
Features
For each Date and Time set in the Loop 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 Custom Field Suite Plugin.
Create a Loop Field and Date Field in the Loop Field using CFS 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/cfs-loop-field-query.git
3. Activate the plugin through the 'Plugins' menu in WordPress.
You can access the some setting by going to Settings - CFS Loop Field Query.
4. Setting Post Type Name, Loop 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
TIP
If you want to apply to some existing article, resave the article.