Google interpreting Schema markup for all day events as 00:00. How to remove?

Home Forums Calendar Products Events Calendar PRO Google interpreting Schema markup for all day events as 00:00. How to remove?

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1463516
    Tommy Chamings
    Participant

    How can I remove the startDate, endDate times for all day events?

    As per the screen shots attached, currently Google is picking up the session (event) times as 00:00 and I want to remove this to just keep the date.

    #1464781

    Hi Tommy,

    Thanks so much for reaching out!

    Are you looking to remove the start and end time from our plugin or from Google?

    By default, you do have to enter a Start and End time, but you can hide them from the front end of your site, if that is something that you are interested in.

    Also, if you can take a screenshot of how your events appear on the back end/front end, I can try to provide you with some more specific advice.

    Let me know!

     

    Thanks,

    Jaime

    #1464802
    Tommy Chamings
    Participant

    Hi Jaime,

    My calender is configured so that each entry is always an All Day Event. This means that I don’t need start and end times at all. You can check out me calendar here https://www.bigrockclimbing.com/hub-book/

    I’ve also attached some screenshots. You can see that I have already removed all the times from the front end of the site. Unfortunately, Google is picking up the 00:00 time from the plugin as per the Structured Data screenshot I sent with my original query.

    So, I need to remove the start and end times from Google, by removing them from the plugin. I’m hoping that you have a fix for completely removing the start and end times from the schema markup that the plugin generates.

    Best regards
    Tommy

    #1466209

    Hi Tommy,

    Just to give you a bit more background information, we use JSON for Linking Data in relation to events.  You can see how our demo site turns up in Google Structured Data Testing Tool results. https://search.google.com/structured-data/testing-tool/u/0/#url=http%3A%2F%2Fwpshindig.com%2Fevents%2F

    I would recommend incorporating https://wordpress.org/plugins/all-in-one-schemaorg-rich-snippets/ into your site for further schema markup as needed.

    Let me know if that helps!

     

    Thanks,

    Jaime

    #1466823
    Tommy Chamings
    Participant

    Hi Jaime,

    I’m afraid that your response isn’t that helpful (sorry!). The fact is that the schema for event calendar ‘all day events’ is outputting start/end times as 00:00 which is really unhelpful when this shows up on Google.

    I need to know how I can specifically edit the schema for a single events page in order to remove the start/end times from the schema.

    Thanks
    Tommy

    #1466931

    Hi Tommy,

    Sorry that my suggestions weren’t what you were looking for.

    You can try to edit the following snippet, which is designed to remove end times for events:

    https://theeventscalendar.com/knowledgebase/remove-end-time-for-events/

    Let me know if that helps!

     

    Thanks,

    Jaime

    #1466942
    Tommy Chamings
    Participant

    Hi Jamie,

    I need to remove the start time too to fix the issue.
    Can you tell me the file location within the plugin that contains the schema information?

    Thanks
    Tommy

    #1467064

    Hi Tommy,

    I believe this is the function that you are looking for:

    https://theeventscalendar.com/function/tribe_get_start_time/

    Let me know if that helps!

     

    Thanks,

    Jaime

    #1467997
    Tommy Chamings
    Participant

    Hi Jamie,

    I’ve used this code to disable Schema markup and after testing with Google Structured Data Tool, the event markup has been removed. I’m assuming that this will solve my issue once Google has recrawled the site.

    /*
    * Disable JSON LD markup used by search engines
    */
    add_filter( 'tribe_json_ld_markup', '__return_empty_string' );

    #1468073

    Hi Tommy,

    Great, thanks for sharing!  Let me know if you have any other questions on this topic!

     

    Thanks,

    Jaime

    #1487731
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Google interpreting Schema markup for all day events as 00:00. How to remove?’ is closed to new replies.