
What Is Event Schema Markup?
Event schema markup is structured data β code you add to your web pages that tells search engines like Google exactly what kind of content they’re looking at. Specifically, it uses the Schema.org Event type to describe events: their name, date, time, location, organiser, price and more.
When Google reads this structured data, it can display your events as rich results in search β showing the event name, date and location directly in the search listing, before anyone even clicks through to your site.
Here’s an example of what a Google rich result for an event looks like:
Annual Tech Summit 2026
Thu, Nov 14 Β· 9:00 AM β 6:00 PM GMT
ExCeL London, Royal Victoria Dock, LondonFrom: example.com
That date, time and venue information comes from Event schema markup β not from the page text. Without it, Google might show your event, but it won’t show those rich details.
Why Event Schema Matters for WordPress Sites
If you run any kind of event calendar on your WordPress site β conferences, workshops, community meetups, concerts, classes β Event schema markup is one of the highest-impact SEO improvements you can make, and it’s often completely overlooked.
The benefits are measurable:
- Higher click-through rates β rich results with dates and locations stand out visually in search; studies consistently show higher CTR vs standard blue links
- Google Events tab β events with correct schema can appear in Google’s dedicated Events tab in search results
- AI search citations β ChatGPT, Perplexity and Google’s AI Overviews use structured data to identify and cite events; schema markup makes your events more citable
- Voice search β smart speakers (Google Assistant, Siri, Alexa) read event schema to answer “what events are on near me?” queries
- Knowledge graph β for well-known events, schema helps establish a dedicated Google Knowledge Panel
The Schema.org Event Type: Required vs Recommended Properties
Schema.org defines which properties Google recognises for events. Google’s documentation specifies a subset of these as required (must include for rich results) and recommended (improve rich result quality).
Required Properties (for Google rich results)
| Property | Type | Description |
|---|---|---|
name |
Text | The name of the event |
startDate |
Date/DateTime | Event start date and time (ISO 8601 format: 2026-11-14T09:00:00) |
location |
Place or VirtualLocation | Venue name and address for in-person events; URL for online events |
Recommended Properties (improve rich results)
| Property | Type | Description |
|---|---|---|
endDate |
DateTime | Event end date and time |
description |
Text | A short description of the event |
image |
URL | An image representing the event (used in rich results) |
organizer |
Organization or Person | The organiser’s name and URL |
performer |
Person or PerformingGroup | Speakers, artists or performers at the event |
eventStatus |
EventStatusType | One of: EventScheduled, EventCancelled, EventPostponed, EventMovedOnline |
eventAttendanceMode |
EventAttendanceModeEnumeration | OfflineEventAttendanceMode, OnlineEventAttendanceMode or MixedEventAttendanceMode |
offers |
Offer | Ticket price, currency, URL and availability |
url |
URL | The canonical URL of the event page |
Event Schema Example: JSON-LD
Google recommends using JSON-LD (JavaScript Object Notation for Linked Data) as the format for structured data. It’s added in a <script> tag β no changes to your HTML needed.
Here’s a complete example for an in-person event with ticketing:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Event",
"name": "Annual WordPress Developer Summit 2026",
"startDate": "2026-11-14T09:00:00+00:00",
"endDate": "2026-11-14T18:00:00+00:00",
"eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
"eventStatus": "https://schema.org/EventScheduled",
"location": {
"@type": "Place",
"name": "ExCeL London",
"address": {
"@type": "PostalAddress",
"streetAddress": "Royal Victoria Dock",
"addressLocality": "London",
"postalCode": "E16 1XL",
"addressCountry": "GB"
}
},
"image": [
"https://example.com/events/wp-summit-2026-banner.jpg"
],
"description": "The biggest WordPress developer conference in the UK. Two tracks, 30 speakers, hands-on workshops.",
"offers": {
"@type": "Offer",
"url": "https://example.com/events/wp-summit-2026/",
"price": "149",
"priceCurrency": "GBP",
"availability": "https://schema.org/InStock",
"validFrom": "2026-09-01T00:00:00+00:00"
},
"organizer": {
"@type": "Organization",
"name": "WordPress UK Community",
"url": "https://wpuk.example.com"
}
}
</script>
Online event example (virtual only):
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Event",
"name": "WordPress Gutenberg Workshop (Online)",
"startDate": "2026-11-20T14:00:00+00:00",
"endDate": "2026-11-20T16:00:00+00:00",
"eventAttendanceMode": "https://schema.org/OnlineEventAttendanceMode",
"eventStatus": "https://schema.org/EventScheduled",
"location": {
"@type": "VirtualLocation",
"url": "https://example.com/live"
},
"offers": {
"@type": "Offer",
"url": "https://example.com/events/gutenberg-workshop/",
"price": "0",
"priceCurrency": "GBP",
"availability": "https://schema.org/InStock"
},
"organizer": {
"@type": "Organization",
"name": "XylusThemes",
"url": "https://xylusthemes.com"
}
}
</script>
How to Add Event Schema to WordPress
There are three approaches to adding Event schema markup to a WordPress site. They range from fully manual to fully automated.
Method 1: Manual JSON-LD (Developer Approach)
Add the JSON-LD script block directly to each event page’s <head> section, or via your theme’s functions.php using WordPress hooks:
// In functions.php β add event schema to single event pages
add_action('wp_head', function() {
if (is_singular('tribe_events')) {
$event_id = get_the_ID();
$start = tribe_get_start_date($event_id, false, 'Y-m-d\TH:i:s');
$end = tribe_get_end_date($event_id, false, 'Y-m-d\TH:i:s');
$venue = tribe_get_venue($event_id);
$schema = [
'@context' => 'https://schema.org',
'@type' => 'Event',
'name' => get_the_title($event_id),
'startDate' => $start,
'endDate' => $end,
'location' => ['@type' => 'Place', 'name' => $venue],
'url' => get_permalink($event_id),
];
echo '<script type="application/ld+json">' . json_encode($schema) . '</script>';
}
});
Pros: Full control over the output.
Cons: Requires developer work; easy to miss properties; breaks when event data structure changes.
Method 2: Yoast SEO / Rank Math (Partial Automation)
Yoast SEO and Rank Math both generate basic Event schema for events created with The Events Calendar. However, coverage is limited β they often miss ticket pricing, performer data and eventAttendanceMode. They also don’t work for events imported from Facebook or Eventbrite unless those events are in a supported post type.
Pros: Already installed on many sites; zero extra plugins.
Cons: Incomplete schema; often fails on non-standard event post types; no control over schema properties.
Method 3: Event Schema Plugin by XylusThemes (Recommended)
The Event Schema plugin by XylusThemes is purpose-built for WordPress event schema. It automatically generates complete, Google-compliant JSON-LD markup for every event on your site β including all required and recommended properties.
What it does:
- Automatically detects events across multiple WordPress event post types
- Generates complete JSON-LD with all required and recommended properties
- Supports in-person, online and hybrid events (eventAttendanceMode)
- Includes ticket pricing and availability in the Offers object
- Adds performer/speaker schema for conference-style events
- Handles cancelled and postponed events with correct eventStatus values
- Compatible with The Events Calendar, EventON, Easy Events Calendar and other post types
Pros: Complete, automated, no coding required; stays up to date with Google’s schema requirements.
Cons: Additional plugin to install (but lightweight).
Setting Up the Event Schema Plugin
- Go to Plugins β Add New and search for Event Schema by XylusThemes
- Install and activate the plugin
- Go to Event Schema β Settings
- Select which post types should have schema applied (e.g.,
tribe_eventsfor The Events Calendar) - Map your event fields to schema properties:
- Event name β post title
- Start date β your date custom field
- End date β your end date field
- Venue β your venue field
- Image β featured image
- Ticket URL β your registration URL field
- Configure default values for organiser name and URL
- Save settings
The plugin will now automatically inject the correct JSON-LD markup into every event page’s <head> β no per-event configuration needed.
Testing Your Event Schema
After adding schema markup, always test it with Google’s official tools:
Google Rich Results Test
- Go to search.google.com/test/rich-results
- Enter your event page URL
- Click Test URL
- Look for Event in the detected structured data β it should show green with all required properties detected
Schema.org Validator
- Go to validator.schema.org
- Enter your URL or paste your JSON-LD directly
- Check for any errors or warnings in the validation output
Google Search Console
Once your pages are indexed, check Google Search Console β Rich Results to see how many of your events are eligible for rich results and whether any have schema errors.
Common schema errors to watch for:
- Missing required
name,startDateorlocationβ these block rich results entirely- Dates not in ISO 8601 format β use
2026-11-14T09:00:00, not “14 November 2026”- Missing
eventAttendanceModefor online events β required since Google updated its guidelines in 2021eventStatusnot updated when an event is cancelled β this can cause misleading search results
Event Schema for Imported Events
If you use WP Event Aggregator to import events from Facebook, Eventbrite, Meetup or Ticketmaster, those imported events are regular WordPress posts β and the Event Schema plugin works with them automatically.
This is a powerful combination:
- WP Event Aggregator imports events from external platforms and keeps them synced
- Event Schema plugin adds JSON-LD markup to every imported event page
- Result: imported Facebook, Eventbrite and Meetup events can appear as Google rich results on your domain
This is how event aggregator sites can compete for β and win β event-related search traffic from the platforms they import from.
Advanced Schema: Event Series and Recurring Events
For recurring events (e.g., a weekly workshop), Schema.org offers two patterns:
- Individual events β each occurrence gets its own Event schema with its specific date. Best for Google rich results, as each date can appear individually in search.
- EventSeries β a parent
EventSeriesentity with childEventinstances. Useful for branding consistency in schema, but less directly supported by Google’s rich results at this time.
For SEO purposes, individual Event schema per occurrence is currently the stronger approach for WordPress event sites.
Schema for Virtual and Hybrid Events
Since 2021, Google requires eventAttendanceMode for all events. The three values are:
https://schema.org/OfflineEventAttendanceModeβ in-person onlyhttps://schema.org/OnlineEventAttendanceModeβ online onlyhttps://schema.org/MixedEventAttendanceModeβ hybrid (in-person and online)
For online events, location must be a VirtualLocation with a url property instead of a physical Place. For hybrid events, provide both a Place and a VirtualLocation in an array.
The Event Schema plugin handles all three modes automatically based on whether your event has a physical venue, an online URL, or both.
Frequently Asked Questions
Does Event schema guarantee rich results in Google?
No β Google decides which pages receive rich results based on multiple factors (schema quality, page authority, content relevance, freshness). Valid schema markup is necessary but not sufficient. However, without correct schema, rich results are impossible.
Will schema markup improve my Google rankings?
Schema is not a direct ranking factor. But rich results drive higher click-through rates, which can indirectly improve your position over time. The more significant benefit is appearance β showing dates and locations in search results without requiring a click.
How do I add schema for events from multiple post types?
The Event Schema plugin lets you configure schema for multiple WordPress post types from a single settings screen β so if you have events in The Events Calendar’s tribe_events and also in Easy Events Calendar’s post type, both can get schema automatically.
Does my SEO plugin (Yoast / Rank Math) conflict with the Event Schema plugin?
The Event Schema plugin outputs its JSON-LD separately from Yoast and Rank Math, so there’s generally no conflict. If you notice duplicate schema being output, you can disable Yoast’s or Rank Math’s event schema output in their settings while keeping the Event Schema plugin active.
Should I add Event schema to past events?
Yes β past events with schema can still appear in Google search for people researching whether an event took place (for example, “Was [Event Name] 2025 in London?”). There’s no need to remove or block past event pages; just ensure the schema accurately reflects their actual status.
Summary: Your Event Schema Checklist
- β Every event page has JSON-LD schema in the
<head> - β Required properties present:
name,startDate,location - β Recommended properties present:
endDate,description,image,organizer,offers - β
eventAttendanceModeset correctly for in-person, online or hybrid - β
eventStatusupdated if event is cancelled or postponed - β Dates in ISO 8601 format with timezone offset
- β Tested with Google Rich Results Test β no errors
- β Checked in Google Search Console β Rich Results
The Event Schema plugin by XylusThemes handles the entire checklist above automatically β so you can focus on creating great events instead of maintaining structured data by hand.
β Download Event Schema Plugin
β Get WP Event Aggregator (imports events that get schema automatically)
β Read the Documentation
β Test Your Schema Now