How to deactivate JSON+LD schema output of “The Events Calendar” plugin

Google and other search engines are working heavily on integration. In the past, a lot of theme and plugin authors have integrated in their plugins but could not keep up with the speed of changes. So what I see happens a lot is that plugin and theme authors do not update their code accordingly. This is the case with the The Events Calendar plugin, too. It is missing some fields search engines want to see.

The Problem

If plugin and theme authors do not keep up-to-date with the demand of the search engines it leads to the problem that the syntax on your pages is incorrect. If the syntax is invalid, search engines will not show Rich Snippets, Rich Cards or anything else in their search results.

The Solution

But, you’re smart and you’re using SNIP, the Rich Snippets WordPress plugin. With that you can easily write your own Event Snippets that are integrated on event pages. If Google and Co. want to see new properties you can easily fix that yourself. Cool!

However there is one issue: when creating a new snippet with SNIP, you have two snippets with the same content on one page. So you need to deactivate the Snippets that are created from the “The Events Calendar” plugin. And here is how it works:

Step 1:

  1. Download this ZIP file from Github.
  2. Unzip it .
  3. Upload the file (the-events-calendar-json-deactivation.php) to your wp-content/plugins/ folder.
  4. Log-in to your WordPress dashboard
  5. Got to Plugins (from the left menu)
  6. Search for the plugin named The Events Calendar JSON+LD Deactivation
  7. Activate it.
  8. Done.

From now on, all data from the Events Calendar Plugin are removed.

Step 2:

Build your own Event snippet

2 thoughts on “How to deactivate JSON+LD schema output of “The Events Calendar” plugin