1.0.0
1.0.0.0Events for WordPress.
GPL-2.0+
The Requires
Events for WordPress.
Events for WordPress., (*1)
This plugin only delivers the most basic functionality for events. It doesn't contain any templates., (*2)
If you're using Composer to manage WordPress, add this plugin to your project's dependencies. Run:, (*3)
composer require trendwerk/events
This plugin does not provide any templates. They have to be created in your theme. This works just like any other post type:, (*4)
archive-events.php
single-events.php
There is some additional post meta available for use in your templates:, (*5)
_start
Start date + time (UNIX timestamp)_end
End date + time (UNIX timestamp)_location
_address
_zipcode
_city
_cost
There's an endpoint available which contains past events. Default: events/archive
., (*6)
Use get_post_type_archive_link
, like with any other post type., (*7)
apply_filters( 'events_archive_slug', '' );
apply_filters( 'events_post_type', $args );
$args
contains all post type settings., (*8)
apply_filters( 'events_archive_slug', '' );
Events for WordPress.
GPL-2.0+