tombroucke / otomaties-events
There is no license information available for the latest version (1.11.1) of this package.
Add event functionality to your WordPress website
Package info
github.com/tombroucke/otomaties-events
Type:wordpress-plugin
pkg:composer/tombroucke/otomaties-events
1.11.1
2025-10-14 17:27 UTC
Requires
- php: >=8
- composer/installers: ^1.0 || ^2.0
- johnbillion/extended-cpts: ^5.0
- phpoffice/phpspreadsheet: *
- stoutlogic/acf-builder: ^1.12
- tombroucke/acf-objects: ^4.2
- tombroucke/wp-models: ^2.1
Requires (Dev)
- larastan/larastan: ^3.0
- php-stubs/acf-pro-stubs: ^6.0
- phpunit/phpunit: ^9.6
- squizlabs/php_codesniffer: ^4.0
- szepeviktor/phpstan-wordpress: ^2.0
- dev-master
- 1.11.1
- 1.11.0
- 1.10.1
- 1.10.0
- 1.9.3
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.0
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.0.1
- dev-snyk-upgrade-4c8e6e69198064602638f86f596e8c9b
This package is auto-updated.
Last update: 2026-03-03 13:21:26 UTC
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
- otomaties_events_section_class
- otomaties_events_input_container_class
- otomaties_events_input_class
- otomaties_events_submit_class
## Archive
You can display an archive using a custom template or whatever. To be able to query events in the past, use 'event_scope' => 'past'. Example implementation (sage):
### Event query
```php
$args = [
'post_type' => 'event',
'posts_per_page' => get_option('posts_per_page'),
'paged' => (get_query_var('paged')) ? get_query_var('paged') : 1,
'event_scope' => 'past',
];
$eventQuery = new \WP_Query($args);
```
```php
@while($eventQuery->have_posts()) @php($eventQuery->the_post())
@include('partials.content-event')
@endwhile
@include('partials.pagination', ['wpQuery' => $eventQuery]) // Pagination: https://github.com/tombroucke/otomaties-sage-helper/blob/master/publishes/app/View/Composers/Pagination.php, https://github.com/tombroucke/otomaties-sage-helper/blob/master/publishes/resources/views/partials/pagination.blade.php
```
## Customization
### Render registration form in content
The registration form will be appended to the page content by default.
1. `add_filter('otomaties_events_show_registration_form', '__return_false');`
2. Use shortcode `[otomaties-events-registration-form]` to display form in different section
## Todo
WPML support