If you are running an online event, then you are probably looking to get the word out about it online. This is where schema markup can be handy for making your event more visible in search engine results.
Event schema will help Google and other search engines understand your event details better. It will allow them to showcase your events in event listings, rich snippets, and Google knowledge panels, attracting a larger audience.
In this article, we will show you how to add event schema in WordPress to improve your rankings.
![How to Add Event Schema in WordPress How to Add Event Schema in WordPress](https://www.wpbeginner.com/wp-content/uploads/2024/06/add-event-schema-in-post.png)
Why Add Event Schema in WordPress?
Event schema markup is a special type of HTML code that’s added to your WordPress website. It structures your event data so that it is better understood by search engines and more clearly displayed in search results.
Schema markup isn’t displayed on your website’s front end. Instead, your event details, such as the date and time, location, and ticket information, are added to your site’s source code so that search engines can list your event in relevant searches.
This improves your SEO and gives people a better chance of finding your event. As a result, you may attract a more targeted audience interested in what your event has to offer.
Once you add schema markup, your event listing may appear in event listings, rich snippets, and Google knowledge panels, which appear above regular search results. These elements make your events more visible, potentially increasing click-through rates to your event page.
![Example of an Events Listing in a Google Search Example of an Events Listing in a Google Search](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-search-results-example.png)
With that being said, let’s take a look at how to add event schema in WordPress. Here are the steps we will cover:
How to Add Event Schema in WordPress
The easiest way to add event schema markup in WordPress is using All in One SEO (AIOSEO). It’s the best WordPress SEO plugin on the market and supports a growing number of schema types to help search engines better understand your content.
First, you will need to install and activate the AIOSEO plugin on your site. If you need help, then just follow our tutorial on how to install a WordPress plugin.
Note: You will need the AIOSEO Pro version, as it includes the Schema Generator and other SEO features like sitemaps and the redirection manager. There is also a free version of AIOSEO that you can try.
Upon activation, the plugin will automatically launch its setup wizard.
Go ahead and click the ‘Let’s Get Started’ button, and then you can follow our guide on how to properly set up All in One SEO for WordPress.
![Click let's get started AIOSEO setup wizard Click let's get started AIOSEO setup wizard](https://www.wpbeginner.com/wp-content/uploads/2015/12/click-lets-get-started-setup-wizard.png)
Adding Event Schema to a WordPress Post or Page
Once you have finished configuring All in One SEO, you need to open the post or page where you want to add the event schema.
According to Google’s event schema requirements, this should be a web page that promotes a single event. That’s because Google requires that each event have a unique URL.
Once you are in the WordPress content editor, you can find the ‘AIOSEO Settings section by scrolling to the bottom of the page.
You will need to click on the ‘Schema’ tab. Here, you can see any schema that has already been enabled, such as the Article schema type.
![Adding how to schema to WordPress using AIOSEO Adding how to schema to WordPress using AIOSEO](https://www.wpbeginner.com/wp-content/uploads/2023/08/aioseo-seo-schema.png)
Now, you can add the event schema to the post. Simply click the ‘Generate Schema’ button.
You will be able to choose from a wide range of different schema types using AIOSEO’s Schema Catalogue. Simply find the ‘Event’ option and then click its ‘+ Add Schema’ button.
![Adding Event Schema in AIOSEO Adding Event Schema in AIOSEO](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-event-add-schema-button.png)
This will bring up a form where you can fill in the details about your event.
Filling in the Event Schema Form
First, you need to give your event a name.
By default, AIOSEO uses the post title by adding the ‘Post Title’ smart tag. You can enter a different title by deleting the ‘Post Title’ smart tag and typing a new one.
![Adding Event Name and Description in AIOSEO Schema Adding Event Name and Description in AIOSEO Schema](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-name-description.png)
Next, you can add an event description, which is typically displayed on search engine results pages (SERPs). The post excerpt is used by default, but it is best to delete this smart tag and type a more helpful description.
Next, you can select the Type of event you are holding from a drop-down menu.
![Adding Event Type in AIOSEO Schema Adding Event Type in AIOSEO Schema](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-event-type.png)
After that, you need to choose an event status.
Initially, you should choose the ‘Scheduled’ status. If necessary, you can change this in the future if the event is canceled, postponed, or rescheduled.
![Adding Event Status in AIOSEO Schema Adding Event Status in AIOSEO Schema](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-status.png)
Next, you need to specify the attendance mode.
There are options for online and offline, as well as events that can be attended both ways.
![Specifying Attendance Mode in AIOSEO Schema Specifying Attendance Mode in AIOSEO Schema](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-attendance-mode.png)
Next, you can choose the date of the event.
When you click the ‘Event Date’ field, a pop-up calendar will appear.
Here, you can click the start date and then the finish date of the event, followed by the OK button. For one-day events, simply click the same date twice.
![Adding Event Date in AIOSEO Schema Adding Event Date in AIOSEO Schema](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-event-date.png)
Now, you can fill in the location details for the event. If your event is online, then simply leave this section blank.
You can start by typing the name of the venue and a URL to its website.
![Adding Event Location in AIOSEO Schema Adding Event Location in AIOSEO Schema](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-location.png)
After that, you should fill in the address fields to help participants navigate to the event.
Next, you will come to the Offer section, where you can type the price for the event. For free events, simply enter 0.
If tickets are being sold, then you can enter the sale start date and the URL to the page where they can be purchased.
![Adding Event Ticket Information in AIOSEO Schema Adding Event Ticket Information in AIOSEO Schema](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-offer.png)
The last two sections let you enter information about the event organizer and performer.
The Organizer section lets you specify whether the organizer is a person or organization. You can also enter their name and a link to their website.
![Adding Event Organizer and Performer Information in AIOSEO Schema Adding Event Organizer and Performer Information in AIOSEO Schema](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-organizer-performer.png)
Finally, if the event is a performance, then you can enter similar details about the performer.
You can also upload an image for your event or select one from the WordPress media library. The maximum image size is 112×112 pixels.
![Adding Event Image in AIOSEO Schema Adding Event Image in AIOSEO Schema](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-image.png)
Once the event schema form has been filled out, make sure you click the ‘Add Schema’ button at the bottom to add it to your post or page.
Tip: If you will be hosting more events in the future that share similar information to what you entered, then you can save time by clicking the ‘Save Schema as Template’ button.
How to Test Your Event Schema in WordPress
You can test your schema from the AIOSEO Settings » Schema section at the bottom of the WordPress content editor.
Get started by clicking the ‘Validate Schema’ button.
![Validating Schema in AIOSEO Validating Schema in AIOSEO](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-validate-schema.png)
This will display your schema markup code in a pop-up window.
You can test the schema by clicking the ‘Test with Google’ button.
![Schema Preview in AIOSEO Schema Preview in AIOSEO](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-schema-validation-preview.png)
This will open Google’s Rich Results Test tool in a new tab.
Simply click the ‘Test Code’ button to continue.
![Testing Code in Google Rich Results Test Testing Code in Google Rich Results Test](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-test-code-button.png)
Google will analyze your page for different kinds of schema markup. That means you may see multiple schema types, such as Articles, Breadcrumbs, FAQs, and more.
You can now click on the ‘Events’ section to see the test details of your Event schema.
![Test Results in Google Rich Results Test Test Results in Google Rich Results Test](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-test-results.png)
You should see all the event information you added to this page or post.
You may also see a list of critical or non-critical issues.
![Event Schema Issues in Google Rich Results Test Event Schema Issues in Google Rich Results Test](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-test-result-details.png)
If the information is wrong, incomplete, or formatted incorrectly, then you will need to fix those issues.
Simply return to the tab where you were editing the post or page, and then click the pencil icon next to the Event schema.
![Editing Event Schema in AIOSEO Editing Event Schema in AIOSEO](https://www.wpbeginner.com/wp-content/uploads/2024/06/eventschema-edit-pencil-icon.png)
Now you can edit the information in the Event schema form and fix those issues. After updating the schema, you may like to test the schema again.
Bonus: Adding Schema Markup for Local SEO
If your event is being held at your business’s physical location, then you can boost your rankings by optimizing your site for local SEO.
You can get started by navigating to the All in One SEO » Local SEO page and then clicking the ‘Activate Local SEO’ button.
![activate local seo activate local seo](https://www.wpbeginner.com/wp-content/uploads/2023/11/activate-local-seo-1-1.png)
Once this module is activated, you can add important information about your business in the Locations tab.
This will help Google and other search engines better understand and display your business information on local search results pages.
![business info business info](https://www.wpbeginner.com/wp-content/uploads/2023/11/business-info-1-1.png)
For detailed instructions, see our ultimate guide to WordPress local SEO.
Expert Tip: Prefer to leave SEO to the experts? Our team can optimize your website for search engines through technical SEO audits, keyword optimization, local SEO optimization, and more. Check out our WPBeginner WordPress SEO Services today!
Expert Guides for Using Schema Markup in WordPress
Now that you know how to add event schema, you may want to learn how to add other types of schema markup to your WordPress website:
- How to Properly Add SEO-Friendly ‘How to’ Schema in WordPress
- How to Add SEO-Friendly Recipe Schema in WordPress (Easy Way)
- How to Add Video Schema Markup in WordPress
- How to Add FAQ Schema in WordPress
- How to Add Schema Markup in WordPress and WooCommerce
- Best Schema Markup Plugins for WordPress
We hope this tutorial helped you learn how to add event schema in WordPress. You may also want to see our guide on how to create a simple event calendar in WordPress or our expert pick of the best WordPress SEO plugins and tools.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Dennis Muthomi says
I’ve been looking to improve my event listings’ visibility in search results, and this article provides a CLEAR, tutorial using AIOSEO.
I particularly appreciate the section on testing the schema markup using Google’s Rich Results Test tool. It’s crucial to validate my schema implementation, and your instructions make it easy to identify and fix any issues.
Great resource overall!
Jiří Vaněk says
I have a list of events on my blog that interest me, each with a description and an invitation. AIO SEO is great, and when I started adding Event Schema, it really paid off in terms of better SEO results. I wanted to use this guide mainly to ensure that I’m doing everything correctly and properly, as it should be done. Thank you for creating this guide, which allowed me to try out Event Schema exactly as you recommended. I love the AIO SEO plugin.
WPBeginner Support says
You’re welcome, glad our guide was helpful!![:)](https://www.wpbeginner.com/wp-content/plugins/classic-smilies/img/icon_smile.gif)
Admin
Kzain says
This is a great article on how to add event schema to a WordPress website. I found the information on why event schema is useful to be very helpful. I’ve been using the All in One SEO plugin for a while now, but I didn’t know that it could be used to add event schema. I’m definitely going to try this out on my own website.
Jiří Vaněk says
AIO SEO offers several types of schemas, and this is just one of them. If you’re not using them yet, you should definitely start—not just with the Event schema, but also with How-To, Video, FAQ, and others. I started using schemas specifically because of AIO SEO, and they have significantly helped me with optimization and improving visibility. It’s a great competitive advantage, as these schemas are not widely used. So, if you start using them, you’ll quickly see in Google Search Console just how powerful they are.
Kzain says
That’s a great point about AIO SEO and the benefits of using different types of schemas. I’ve heard similar things about how schemas can significantly improve search engine visibility.
Jiří Vaněk says
Yes, I’ve tested it in practice, and I couldn’t believe it myself. The first fact is that Google learns to better understand your content. You can see this in Google Search Console if you use it. Google starts to categorize your articles into those with videos, recipes, reviews, and so on. Thanks to this, and with well-chosen keywords, it can better target the right search queries. If you start using something like FAQ schema, you’ll find yourself more often in the “People also ask” section. Overall, when I checked Google Analytics, about two months after carefully implementing schemas, even in older articles, my traffic increased by around 20%. It does mean more work when creating an article, but in my experience, using schemas is a significant SEO advantage, and incorporating them into your articles really helps.