Otomaties Events
Add event functionality to your website
★ 1stars
729composer installs
0forks
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/tombroucke/otomaties-events/archive/refs/heads/master.zipAlso on Packagist as tombroucke/otomaties-events:
composer require tombroucke/otomaties-eventsFrom the readme
Otomaties Events
Add event functionality to your wordpress website
Prerequisites
- PHP 8.x
- ACF PRO
Installation
composer require tombroucke/otomaties-events
The plugin could be installed by cloning this repo and performing calling composer install from the root directory, but there will be no updates.
Layout
Templates
This plugin doesn't provide any templates. You should add archive-events.php and content-event.php yourself.
Bootstrap
The registration form uses default bootstrap classes. Following classes should be whitelisted from purgecss
- alert
- alert-danger
- alert-success
- btn
- btn-primary
- col-md-6
- form-control
- g-3
- input-group
- input-group-text
- mb-3
- mb-5
- row
Layout filters
Some filters are provided to swap bootstrap for another css framework
- otomatieseventssectionclass
- otomatieseventsinputcontainerclass
- otomatieseventsinputclass
- otomatieseventssubmitclass
Archive
You can display an archive using a custom template or whatever. To be able to query events in the past, use 'eventscope' = 'past'. Example implementation (sage):
Event query
Customization
Render registration form in content
The registration form will be appended to the page con