CEM – Shortcodes

Caz Event Manager Pro provides WordPress shortcodes that allow event information and event-management functionality to be displayed within WordPress pages and content.

Shortcodes make it possible to add Caz Event Manager functionality without having to manually build event listings or event-management interfaces.

The shortcode is placed inside a WordPress page, post or compatible content area and Caz Event Manager generates the appropriate output.

What Is a WordPress Shortcode?

A WordPress shortcode is a small piece of text enclosed in square brackets.

For example:

[caz_events]

When WordPress loads the page, Caz Event Manager detects the shortcode and generates the corresponding event content.

This allows the same event-management functionality to be placed on different pages without duplicating the underlying code.

The Caz Events Shortcode

The primary public event-listing shortcode is:

[caz_events]

This shortcode displays the Caz Event Manager event directory.

It is designed for use on a public-facing WordPress page where customers can browse available events and workshops.

Creating an Event Listing Page

To create a public event directory:

  1. Create a new WordPress page.
  2. Give the page a suitable title.
  3. Add the shortcode:

[caz_events]

  1. Publish the page.
  2. Open the page on the front end of the website.

Caz Event Manager will generate the event listing.

A typical page might be called:

Events

or:

Book a Workshop

Using the Shortcode in the WordPress Editor

The shortcode can be entered directly into a WordPress Shortcode block.

For example:

[caz_events]

The Shortcode block can be added through the WordPress block editor.

The shortcode can also be placed into compatible WordPress content areas that support shortcodes.

Public Event Directory

The [caz_events] shortcode provides the public-facing event directory used by customers.

The directory can display event information such as:

  • Event title
  • Event date
  • Event venue
  • Event price
  • Event availability
  • Places remaining
  • Booking status
  • Book Now option

This allows customers to browse events without needing access to WordPress administration.

Event Availability

The event listing uses the event’s booking information to display availability.

For example, an event may show:

15 spots left

when places are still available.

When an event reaches capacity, it can be displayed as:

FULL

Where waitlist functionality is available, a full event can provide the option for a customer to join the waitlist.

Booking From the Event Directory

The event directory connects the public event listing with the WooCommerce event product.

The customer can select:

Book Now

and proceed to the relevant WooCommerce product and checkout process.

The shortcode therefore forms the starting point of the customer booking journey.

The complete process is:

[caz_events]

↓

Select Event

↓

Book Now

↓

WooCommerce Product

↓

Cart

↓

Checkout

↓

Booking

Event Products

Caz Event Manager uses WooCommerce products as the underlying event products.

The [caz_events] shortcode identifies event products and presents them as events in the public directory.

This means event organisers do not need to maintain a separate event-post system just to sell event places.

The event remains connected to its WooCommerce product.

Where to Use the Shortcode

The [caz_events] shortcode can be used on a dedicated event page.

For example:

Page title:

Book a Workshop

Page content:

[caz_events]

The shortcode can also be incorporated into a wider page layout containing introductory text, images or other WordPress content.

For example:

Discover our upcoming workshops

[caz_events]

This allows the event directory to become part of a normal WordPress website page.

Using the Shortcode With a Page Builder

The shortcode can be used in WordPress environments that support standard WordPress shortcodes.

Depending on the page builder or theme being used, it can normally be inserted through a:

  • Shortcode block
  • Shortcode element
  • Text/content element that supports shortcodes

The shortcode itself remains:

[caz_events]

Shortcode and Theme Compatibility

The event directory is generated within the existing WordPress website.

The website theme controls the surrounding page structure, while Caz Event Manager provides the event-management content.

This allows Caz Event Manager to operate within an existing WooCommerce website rather than requiring a separate event website.

Shortcode and WooCommerce

The shortcode does not replace WooCommerce.

Instead, it provides the public event-discovery layer.

The relationship is:

Caz Event Manager

Identifies and displays events.

↓

WooCommerce

Handles the product, cart, checkout and payment.

↓

Caz Event Manager

Manages the resulting event booking and attendee information.

This is one of the key features of Caz Event Manager Pro.

Shortcode and Event Management

The shortcode is primarily intended for the public-facing event directory.

Event administration is handled separately through the Caz Event Manager administration and staff interfaces.

This creates a clear separation between:

Customer Interface

[caz_events]

Customers browse and book events.

Administration

Caz Events

Organisers create and manage events.

Event Operations

Attendees / Check-In / Mobile Dashboard

Staff manage event-day operations.

Example Event Page

A simple event page can contain:

Upcoming Workshops

Discover and book upcoming events.

[caz_events]

The shortcode then generates the current event directory beneath the introductory content.

This means the page can remain unchanged while the events themselves are added, updated or removed through Caz Event Manager.

Keeping the Event Page Updated

One advantage of the shortcode approach is that the organiser does not need to manually edit the public event page every time an event changes.

The page contains:

[caz_events]

Caz Event Manager supplies the event information dynamically.

When events are added or their availability changes, the event directory reflects the current event information.

Multiple Event Pages

If required, the shortcode can be placed on more than one compatible page.

For example:

Upcoming Workshops

[caz_events]

and:

Events

[caz_events]

However, most websites will normally only need one primary public event directory.

Using one main event page makes it easier for customers to know where to find all available events.

Troubleshooting the Shortcode

If [caz_events] does not display the event directory, check the following:

1. Confirm the plugin is active

Go to:

WordPress → Plugins

and confirm that Caz Event Manager Pro is active.

2. Confirm the shortcode is correct

Use:

[caz_events]

Check that the square brackets and shortcode name have been entered correctly.

3. Confirm the page is published

Make sure the WordPress page containing the shortcode is published and publicly accessible.

4. Check that event products exist

Caz Event Manager uses WooCommerce products as the basis for events.

Confirm that the event has been created correctly.

5. Check event status

Confirm that the event is configured appropriately for public display.

6. Check WooCommerce

Because Caz Event Manager works with WooCommerce products, confirm that WooCommerce is active and operating normally.

Shortcode Checklist

When creating a public event directory:

  • Create a WordPress page.
  • Add the [caz_events] shortcode.
  • Publish the page.
  • Confirm the page is publicly accessible.
  • Create at least one event.
  • Confirm the event is configured correctly.
  • View the page on the front end.
  • Confirm the event appears.
  • Test the Book Now link.
  • Complete a test booking if required.

The Shortcode Customer Journey

The [caz_events] shortcode is the first step in the customer-facing event workflow.

The complete journey is:

Customer visits Events page

↓

[caz_events] displays available events

↓

Customer selects an event

↓

Customer selects Book Now

↓

WooCommerce product opens

↓

Customer adds booking to cart

↓

Customer completes checkout

↓

Caz Event Manager records the event booking

↓

Customer receives event information and ticket

↓

Customer attends event

↓

QR code is scanned

↓

Customer is checked in

The shortcode therefore connects the public website with the wider Caz Event Manager booking system.

Summary

Caz Event Manager Pro uses WordPress shortcodes to make its event functionality easy to add to existing WordPress websites.

The primary public event-directory shortcode is:

[caz_events]

It allows a website owner to create a customer-facing event page without manually building an event listing.

The shortcode displays the available Caz Event Manager events and connects customers to the underlying WooCommerce event products.

This gives Caz Event Manager a simple architecture:

WordPress Page

↓

[caz_events]

↓

Event Directory

↓

WooCommerce Event Product

↓

Checkout

↓

Booking

↓

Attendee

↓

QR Check-In

Caz Event Manager Pro therefore integrates the public event directory directly into the existing WordPress and WooCommerce website rather than requiring a separate event-management website.