blog.marccus.net

Live. Life is Wonderful.





[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.


 




written by marccus.   category: seo tips.   Total 202 views    

 



Thanks for your reply!
谢谢你的留言

Comment section

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of


Comment section

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of




Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Pin It on Pinterest