Skip to content

CNO Plugin that handles Event CPT + Taxonomy and "Add to Calendar" Button

License

Notifications You must be signed in to change notification settings

choctaw-nation/cno-plugin-events

Repository files navigation

cno-events-plugin

A WordPress Plugin for Event Displays.

Quick Start

  1. Download the choctaw-events-plugin.zip from the latest release
  2. Install to WordPress

Peer Dependencies

This plugin assumes Bootstrap ^5.3.3 is installed, and specifically makes use of the following modules:

  • Breadcrumb
  • Grid
  • Utilities
  • Forms
  • Spinners

Changelog

v4.1.0

  • Event "Description" field is no longer required.

v4.0.4

  • Fixed a bug where $has_time property wasn't set correctly

v4.0.3

  • Fixed a bug when no end date is set

v4.0.2

  • Update packages
  • Update minimum required WP Version

v4.0.1

  • Bug fix

v4.0.0

  • Added ACF stubs to composer
  • Bumped packages
  • Cleaned up the single and event-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 API
    • categories property is now WP_Term[]|null
    • Renamed: get_the_category is now get_the_categories
    • Removed: the_category
  • Fixed the paths to enqueue the front-end JS for the plugin

v3.2.6

  • Fixed a type error

v3.2.5

  • Fixed a bug that was incorrectly assigning properties

v3.2.3

  • Now properly handles the new Requires Plugin header to require ACF Pro

v3.2.2

  • Init Plugin with WordPress hooks
  • Fixed a bug where assigning a custom slug wouldn't override every setting across the plugin.

v3.2.1

  • Fixed a return type bug with get_the_times method

v3.2.0

  • Added new Choctaw_Event methods for getting venue details without calling the nested Venue class (e.g. $event->venue->the_name() has been replaced by $event->the_venue_name())
  • Added return types to comments.

v3.1.3

  • Prepped for Github CD
    • Removed /dist to let Github handle
    • Added deploy.yml

v3.1.2

  • Added return types to all methods of the ACF class-choctaw-event
  • Fixed a bug where Choctaw_Event::the_excerpt didn't echo properly.

v3.1.1

  • Fix DateTime assignments
  • Fix spelling error in doc comment
  • Update packages

v3.1.0

  • Adds automatic event expiry with a cron job expire_choctaw_event_posts. Handled in the class-admin-handler file.

v3.0.3

  • Update typography to inherit font-family from site.

v3.0.2

  • Swap wp_footer for the correct get_footer function calls.

v3.0.0

  • Inits the new Archive page that handles GraphQL + React Search

Non-GraphQL Updates

  • 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

v2.2.0

  • Extended Choctaw_Events API
  • New post type field, "Brief Description" (for Yoast & excerpt), in the sidebar of events
  • Bug fixes (#9)

v2.1.0

  • Registers standard archive & single images sizes

v2.0.5

  • Update AddToCalendar logic to be registered immediately and enqueued in the single file.

v2.0.4

  • Further bug fixes for namespacing.

v2.0.3

  • Namespace everything and update file names / loaders.

v2.0.2

  • Handle Output for Venues Content
  • Update ACF JSON field for Venues Fields & Taxonomy

v2.0.1

  • Total Rework
  • Events without Venues no longer throws JS console errors

About

CNO Plugin that handles Event CPT + Taxonomy and "Add to Calendar" Button

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages