[Solved] Fixing Schema Markup Structured Data Error Warnings from Modern Tribe The Events Calendar

If you are using the WordPress plugin The Events Calendar from Modern Tribe and happen to have Schema Markup Structured Data error, you may want to try using this method to fix it.

First, navigate to Plugin Editor in WordPress admin. Select The Event Calendar plugin.

The file needed to edit is Event.php that located at JSON_LD folder. So next, navigate to the file in this path, the-events-calendar/src/Tribe/JSON_LD/Event.php.

In this file, changes that need to be made is:

Line 20: Change Event to Blog.

Line 108, 109, 113, 114, quote out these line (Just put a double slash in front will do).

Once you are done, save the file, and refresh your page.

Now, when you using Google Structured Data Testing Tool to run the new test, the error and warnings will no long there.

Related Post
Disqus Comments Loading...