Skip to content

Crowdcue is the unofficial OccasionGenius plugin that allows you to easily output a beautiful and simple event page without any coding.

Notifications You must be signed in to change notification settings

kittabit/crowdcue

Repository files navigation

Crowdcue

Crowdcue is the unofficial OccasionGenius WordPress plugin allows you to easily output a beautiful and simple events page without any coding using the OccasionGenius API.

Installation

Download and active the plugin, then go to "Settings" => "Crowdcue." From there, input your OccasionGenius API key and save your settings (along with any design tweaks).

After this has been completed, you can add to an "Events" (/events/) page via either of the follow:

  1. Shortcode: Add the [occasiongenius_events] Shortcode to the page.
  2. Blocks: Add the OccasionGenius Events Block via Gutenberg.

Occasion Genius Screenshot #1 Occasion Genius Screenshot #2 Occasion Genius Screenshot #3 Occasion Genius Screenshot #4 Occasion Genius Screenshot #5 Occasion Genius Screenshot #6

Carbon Fields / Options

  • og-token-key
  • og-time-format
  • og-time-zone
  • og-disabled-flags
  • og-disabled-areas
  • og-featured-flags
  • og-google-maps-api-key
  • og-design-per-page-limit
  • og-design-header-image-1
  • og-design-header-image-2
  • og-design-header-image-3
  • og-design-heading
  • og-design-subheading
  • og-design-hp-btn-text
  • og-design-hp-btn-url
  • og-developer-security-key
  • og-analytics-ua-id

Post Types

  • og_events

Fields

  • og-event-name
  • og-event-uuid
  • og-event-popularity-score
  • og-event-description
  • og-event-flags
  • og-event-start-date
  • og-event-end-date
  • og-event-start-date-unix
  • og-event-end-date-unix
  • og-event-event-dates
  • og-event-source-url
  • og-event-image-url
  • og-event-ticket-url
  • og-event-venue-name
  • og-event-venue-uuid
  • og-event-venue-address-1
  • og-event-venue-address-2
  • og-event-venue-city
  • og-event-venue-state
  • og-event-venue-zip-code
  • og-event-venue-country
  • og-event-venue-latitude
  • og-event-venue-longitude

API Routes

All Events

/wp-json/occasiongenius/v1/events

All Flags (Categories)

/wp-json/occasiongenius/v1/flags

All Areas

/wp-json/occasiongenius/v1/areas

Single Flag (Category)

/wp-json/occasiongenius/v1/flag/[flag_id]?limit=X&page=X

Single Event

/wp-json/occasiongenius/v1/event/[slugline]

Single Venue

/wp-json/occasiongenius/v1/venue/[uuid]

Nearby Locations/Events

/wp-json/occasiongenius/v1/nearby/[uuid]

React Setup

  • Layout.js
  • index.js
  • Components/
  • Breadcrumbs.js
  • CategoryOutput.js
  • EventCategorySmall.js
  • EventGridItem.js
  • EventSingle.js
  • Header.js
  • Loading.js
  • RelatedEvents.js
  • VenueOutput.js
  • UpcomingForYou.js
  • Components/
  • OGUserLogging.js
  • Pages/
  • Categories.js
  • EventDetails.js
  • Events.js
  • Home.js
  • SingleCategory.js
  • SingleVenue.js
  • ForYou.js

CSS Overrides

Global

  • og-master-container

Home

  • og-header-container
  • og-header-container-outer
  • og-header-container-inner-inner
  • og-header-container-inner-right
  • og-header-container-inner-right-h1
  • og-header-container-inner-right-p
  • og-header-container-inner-left
  • og-home-view-all-buttons
  • og-home-view-all-categories
  • og-home-view-all-events

Coming Soon / Todo's

  • Popularity Score Queries/Sorting

  • Recommendation Logic (other events on this day, in the area, and personalization)

  • Pre-Defined Cookies / LocalStorage (for inner-events queries - such as booking dates)

About

Crowdcue is the unofficial OccasionGenius plugin that allows you to easily output a beautiful and simple event page without any coding.

Resources

Stars

Watchers

Forks

Packages

No packages published