A WordPress Plugin for Event Displays.
- Download the
choctaw-events-plugin.zip
from the latest release - Install to WordPress
This plugin assumes Bootstrap ^5.3.3
is installed, and specifically makes use of the following modules:
- Breadcrumb
- Grid
- Utilities
- Forms
- Spinners
- Event "Description" field is no longer required.
- Fixed a bug where $has_time property wasn't set correctly
- Fixed a bug when no end date is set
- Update packages
- Update minimum required WP Version
- Bug fix
- Added ACF stubs to composer
- Bumped packages
- Cleaned up the
single
andevent-preview
templates according to new class properties & methods - Removed WPGraphQL references from php files and deleted the React-powered Search (for now).
- Updated
events
class APIcategories
property is nowWP_Term[]|null
- Renamed:
get_the_category
is nowget_the_categories
- Removed:
the_category
- Fixed the paths to enqueue the front-end JS for the plugin
- Fixed a type error
- Fixed a bug that was incorrectly assigning properties
- Now properly handles the new
Requires Plugin
header to require ACF Pro
- Init Plugin with WordPress hooks
- Fixed a bug where assigning a custom slug wouldn't override every setting across the plugin.
- Fixed a return type bug with
get_the_times
method
- Added new
Choctaw_Event
methods for getting venue details without calling the nestedVenue
class (e.g.$event->venue->the_name()
has been replaced by$event->the_venue_name()
) - Added return types to comments.
- Prepped for Github CD
- Removed
/dist
to let Github handle - Added
deploy.yml
- Removed
- Added return types to all methods of the ACF
class-choctaw-event
- Fixed a bug where
Choctaw_Event::the_excerpt
didn't echo properly.
- Fix
DateTime
assignments - Fix spelling error in doc comment
- Update packages
- Adds automatic event expiry with a cron job
expire_choctaw_event_posts
. Handled in theclass-admin-handler
file.
- Update typography to inherit font-family from site.
- Swap
wp_footer
for the correctget_footer
function calls.
- Inits the new Archive page that handles GraphQL + React Search
- Allows a template override for the content parts at
template-parts/events/content-event-preview.php
- Updates the Archive query to sort posts by ACF field (instead of publish date).
- Removes the Search form from the basic field
- Extended Choctaw_Events API
- New post type field, "Brief Description" (for Yoast & excerpt), in the sidebar of events
- Bug fixes (#9)
- Registers standard archive & single images sizes
- Update AddToCalendar logic to be registered immediately and enqueued in the
single
file.
- Further bug fixes for namespacing.
- Namespace everything and update file names / loaders.
- Handle Output for Venues Content
- Update ACF JSON field for Venues Fields & Taxonomy
- Total Rework
- Events without Venues no longer throws JS console errors