Support » Plugin: The Events Calendar Shortcode & Block » Can I Disable Schema?

  • Resolved Daniel Chase


    Is there a way to disable the schema when using the shortcode? I have the shortcode on virtually all of my pages and I don’t want the schema code. I am referring to the JavaScript:

    <script type="application/ld+json">
    [{"@context":"","@type":"Event","name":"blah blah","description":"la la ","image":"...

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Brian Hogg


    Hi Daniel!

    You should be able to add schema="false" to your shortcode to disable, ie.

    [ecs-list-events schema="false"]

    Though I’m curious why you’d want to remove it, since it’s hidden from the page and just for search engines to pick up?


    Thread Starter Daniel Chase


    Thank you, Brian. It works perfectly.

    I don’t want this because I don’t think it is necessary to have on every page of my website, because it won’t show as a snippet in Google’s results. This schema will only effect google search results for the single event pages. Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I Disable Schema?’ is closed to new replies.