Home › Forums › Calendar Products › Events Calendar PRO › Events showing incorrect event times in google search results
- This topic has 5 replies, 4 voices, and was last updated 9 years, 4 months ago by
Christopher.
-
AuthorPosts
-
November 28, 2016 at 7:33 pm #1198856
Christopher
ParticipantHi,
It has been brought to my attention that events are showing the incorrect times in google search results. They appear to be ahead by 7 hours. For example Cirque Musica Holiday Spectacular December 2 @ 8:00 pm is showing in Google Search results on December 3 @ 3:00 am.
To bring this up in google search for “Calgary Phil Events” and then click on the first event in the list. I have attached screenshots to show both the event in google search results and the event on the actual website.
We have our timezone in WP set to UTC-7.
Any idea on what is causing this and how to fix it?
Thanks,
ChrisNovember 29, 2016 at 12:35 pm #1199343Hunter
ModeratorHey Christopher,
If you don’t already have a Google Webmaster account set up and tied to your WordPress website, I’d recommend doing so. Inside your Webmaster dashboard, you should be able to further troubleshoot this issue. Try resubmitting an updated sitemap as that usually helps alleviate this problem. I can confirm we don’t have any logged bugs at this time, so let me know what you find and we’ll go from there.
Thanks and have a great afternoon. Cheers!
December 2, 2016 at 9:14 am #1200947Christopher
ParticipantHi Hunter,
Thanks for your reply. I guess the client (calgaryphil.com) can’t find or retrieve access to their Google Account at the moment.
In the meantime I thought I would ask another question.
We are doing a template override on single-event.php. We initially did the template override maybe a 1.5 to 2 years ago. I wonder if using this older version of the override file could cause this indexing problem?
Here is the code in the override single-event.php in question:
<?php /** * Single Event Template * A single event. This displays the event title, description, meta, and * optionally, the Google map for the event. * * Override this template in your own theme by creating a file at [your-theme]/tribe-events/single-event.php * * @package TribeEventsCalendar * */ if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } $event_id = get_the_ID(); ?> <!-- Notices --> <?php tribe_events_the_notices() ?> <div class="add-event-breadcrumbs"><?php tribe_breadcrumbs(); ?></div> <?php the_title( '<h2 class="tribe-events-single-event-title summary entry-title">', '</h2>' ); ?> <div id="sidebar" class="sidebar" style="float:left;"> <div id="nav_menu-20" class="widget widget_nav_menu"> <div class="menu-event-landing-page-menu-container"> <ul id="menu-event-landing-page-menu" class="menu"> <li id="menu-item-5802" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-5802"> <a href="http://calgaryphil.com/events/tag/2016-17-season/">2016/17 Season</a> </li> <li id="menu-item-1755" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1755"> <a href="http://calgaryphil.com/concerts-tickets/tickets/subscriptions/">Subscriptions</a> </li> <li id="menu-item-1756" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1756"> <a href="http://calgaryphil.com/concerts-tickets/tickets/group-sales/">Group Sales</a> </li> <li id="menu-item-1757" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1757"> <a href="http://calgaryphil.com/concerts-tickets/tickets/seating-map/">Seating Map</a> </li> <li id="menu-item-1758" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1758"> <a href="http://calgaryphil.com/concerts-tickets/tickets/ticket-policies/">Ticket Policies</a> </li> <li id="menu-item-1759" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1759"> <a href="http://calgaryphil.com/concerts-tickets/tickets/corporate-offers/">Corporate Offers</a> </li> <li id="menu-item-1760" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1760"> <a href="http://calgaryphil.com/concerts-tickets/cpossibilities/">Cpossibilities</a> </li> <li id="menu-item-1761" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1761"> <a href="http://calgaryphil.com/concerts-tickets/special-events/">Special Events</a> </li> <li id="menu-item-1762" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1762"> <a href="http://calgaryphil.com/concerts-tickets/music-venues/">Music Venues</a> </li> </ul> </div> </div> </div> <div id="tribe-events-content" class="tribe-events-single vevent hentry" style="float:right;"> <!-- Event header --> <div id="tribe-events-header" <?php tribe_events_the_header_attributes() ?>> <!-- Navigation --> <h3 class="tribe-events-visuallyhidden"><?php _e( 'Event Navigation', 'tribe-events-calendar' ) ?></h3> <ul class="tribe-events-sub-nav"> <li class="tribe-events-nav-previous"><?php tribe_the_prev_event_link( '<span>«</span> %title%' ) ?></li> <li class="tribe-events-nav-next"><?php tribe_the_next_event_link( '%title% <span>»</span>' ) ?></li> </ul> <!-- .tribe-events-sub-nav --> </div> <!-- #tribe-events-header --> <?php while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <!-- Event featured image, but exclude link --> <?php /*echo tribe_event_featured_image( $event_id, 'full', false );*/ ?> <div id="owl-example" class="owl-carousel owl-theme"> <?php $image = get_field('image_1'); if( !empty($image) ): // vars $url = $image['url']; $title = $image['title']; $alt = $image['alt']; $caption = $image['caption']; // thumbnail $size = 'large'; $thumb = $image['sizes'][ $size ]; $width = $image['sizes'][ $size . '-width' ]; $height = $image['sizes'][ $size . '-height' ]; ?> <div class="item"> <img src="<?php echo $thumb; ?>" alt="<?php echo $alt; ?>" /> </div> <?php endif; ?> <?php $image = get_field('image_2'); if( !empty($image) ): // vars $url = $image['url']; $title = $image['title']; $alt = $image['alt']; $caption = $image['caption']; // thumbnail $size = 'large'; $thumb = $image['sizes'][ $size ]; $width = $image['sizes'][ $size . '-width' ]; $height = $image['sizes'][ $size . '-height' ]; ?> <div class="item"> <img src="<?php echo $thumb; ?>" alt="<?php echo $alt; ?>" /> </div> <?php endif; ?> <?php $image = get_field('image_3'); if( !empty($image) ): // vars $url = $image['url']; $title = $image['title']; $alt = $image['alt']; $caption = $image['caption']; // thumbnail $size = 'large'; $thumb = $image['sizes'][ $size ]; $width = $image['sizes'][ $size . '-width' ]; $height = $image['sizes'][ $size . '-height' ]; ?> <div class="item"> <img src="<?php echo $thumb; ?>" alt="<?php echo $alt; ?>" /> </div> <?php endif; ?> <?php $image = get_field('image_4'); if( !empty($image) ): // vars $url = $image['url']; $title = $image['title']; $alt = $image['alt']; $caption = $image['caption']; // thumbnail $size = 'large'; $thumb = $image['sizes'][ $size ]; $width = $image['sizes'][ $size . '-width' ]; $height = $image['sizes'][ $size . '-height' ]; ?> <div class="item"> <img src="<?php echo $thumb; ?>" alt="<?php echo $alt; ?>" /> </div> <?php endif; ?> <?php $image = get_field('image_5'); if( !empty($image) ): // vars $url = $image['url']; $title = $image['title']; $alt = $image['alt']; $caption = $image['caption']; // thumbnail $size = 'large'; $thumb = $image['sizes'][ $size ]; $width = $image['sizes'][ $size . '-width' ]; $height = $image['sizes'][ $size . '-height' ]; ?> <div class="item"> <img src="<?php echo $thumb; ?>" title="<?php echo $title; ?>" /> </div> <?php endif; ?> </div> <div id="event-details-col1"> <h2 class="add-performance-details-title">PERFORMANCE DETAILS</h2> <p style="margin:0;">VENUE: <?php echo tribe_get_venue_link(); ?></p> <p style="display:inline; margin:0;">SERIES: <?php echo tribe_meta_event_cats(); ?></p> </div> <div id="event-details-col2"> <div class="fusion-button-wrapper fusion-alignright"> <style type="text/css"> .fusion-button.button-1{border-width:1px;color:#ffffff;border-color:#ffffff;}.fusion-button.button-1:hover,.fusion-button.button-1:focus,.fusion-button.button-1:active{border-width:1px;border-color:#787878;color:#787878;}.fusion-button.button-1{background: #36373c;}.fusion-button.button-1:hover,.button-1:focus,.fusion-button.button-1:active{background: #000000;} #content{ margin-left: auto !important; margin-right: auto !important; float:none !important; } </style> <!-- <a class="fusion-button button-flat button-round button-large button-default button-1 fusion-animated fadeInLeft" data-target=".social-share-popup" data-toggle="modal" href="#" target="_self" data-animationduration="0.5" data-animationtype="fadeInLeft" style="visibility: visible; animation-duration: 0.5s;"> <i class="fa fa-share button-icon-left"></i> <span class="fusion-button-text">SHARE</span> </a> --> </div> <div class="mailmunch-forms-after-post" style="display: none !important;"></div> </div> <div id="add-share-popup-modal" class="fusion-modal modal fade modal-1 social-share-popup" aria-hidden="true" aria-labelledby="modal-heading-1" role="dialog" tabindex="-1" style="display: none;"> <style type="text/css"> .modal-1 .modal-header, .modal-1 .modal-footer{border-color:#ebebeb;} </style> <div class="modal-dialog modal-sm"> <div class="modal-content fusion-modal-content" style="background-color:#ffffff"> <div class="modal-header"> <button class="close" aria-hidden="true" data-dismiss="modal" type="button">×</button> <h3 id="modal-heading-1" class="modal-title" aria-hidden="true" data-dismiss="modal" data-fontsize="20" data-lineheight="24">CHOOSE YOUR PLATFORM</h3> </div> <div class="modal-body"> <div id="add-share-popup" class="share-box fusion-sharing-box boxed-icons" style="background-color: rgb(255, 255, 255);"> <h4 class="tagline" style="color: rgb(51, 51, 51);" data-fontsize="16" data-lineheight="20">Share This Story, Choose Your Platform!</h4> <div class="fusion-social-networks boxed-icons"> <a class="fusion-social-network-icon fusion-tooltip fusion-facebook fusion-icon-facebook" data-toggle="tooltip" title="" data-title="" data-placement="top" style="color:#ffffff;background-color:#a8a8a8;border-color:#a8a8a8;border-radius:24px;" target="_blank" href="http://www.facebook.com/sharer.php?m2w&s=100&p[url]=&p[images][0]=http://calgaryphil.com/wp-content/uploads/2015/04/CPO-Group-photo.jpg&p[title]=" data-original-title="Facebook"></a> <a class="fusion-social-network-icon fusion-tooltip fusion-twitter fusion-icon-twitter" data-toggle="tooltip" title="" data-title="" data-placement="top" style="color:#ffffff;background-color:#a8a8a8;border-color:#a8a8a8;border-radius:24px;" target="_blank" href="https://twitter.com/share?text=&url=" data-original-title="Twitter"></a> <a class="fusion-social-network-icon fusion-tooltip fusion-pinterest fusion-icon-pinterest" data-toggle="tooltip" title="" data-title="" data-placement="top" style="color:#ffffff;background-color:#a8a8a8;border-color:#a8a8a8;border-radius:24px;" target="_blank" href="http://pinterest.com/pin/create/button/?url=&description=&media=" data-original-title="Pinterest"></a> <a class="fusion-social-network-icon fusion-tooltip fusion-googleplus fusion-icon-googleplus" data-toggle="tooltip" title="" data-title="" data-placement="top" style="color:#ffffff;background-color:#a8a8a8;border-color:#a8a8a8;border-radius:24px;" target="_blank" href="https://plus.google.com/share?url=" onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;" data-original-title="Google+"></a> <a class="fusion-social-network-icon fusion-tooltip fusion-linkedin fusion-icon-linkedin" data-toggle="tooltip" title="" data-title="" data-placement="top" style="color:#ffffff;background-color:#a8a8a8;border-color:#a8a8a8;border-radius:24px;" target="_blank" href="http://linkedin.com/shareArticle?mini=true&url=&title=" data-original-title="Linkedin"></a> <a class="fusion-social-network-icon fusion-tooltip fusion-mail fusion-icon-mail" data-toggle="tooltip" title="" data-title="" data-placement="top" style="color:#ffffff;background-color:#a8a8a8;border-color:#a8a8a8;border-radius:24px;" target="_self" href="mailto:?subject=&body=" data-original-title="Mail"></a> </div> </div> </div> </div> </div> </div> <!-- Event content --> <?php do_action( 'tribe_events_single_event_before_the_content' ) ?> <div class="tribe-events-single-event-description tribe-events-content entry-content description"> <?php the_content(); ?> </div> <!-- .tribe-events-single-event-description --> <?php do_action( 'tribe_events_single_event_after_the_content' ) ?> <!-- Event meta --> <?php do_action( 'tribe_events_single_event_before_the_meta' ) ?> <?php /** * The tribe_events_single_event_meta() function has been deprecated and has been * left in place only to help customers with existing meta factory customizations * to transition: if you are one of those users, please review the new meta templates * and make the switch! */ if ( ! apply_filters( 'tribe_events_single_event_meta_legacy_mode', false ) ) { tribe_get_template_part( 'modules/meta' ); } else { echo tribe_events_single_event_meta(); } ?> <?php do_action( 'tribe_events_single_event_after_the_meta' ) ?> </div> <!-- #post-x --> <?php if ( get_post_type() == TribeEvents::POSTTYPE && tribe_get_option( 'showComments', false ) ) comments_template() ?> <?php endwhile; ?> <!-- Event footer --> <div id="tribe-events-footer"> <!-- Navigation --> <!-- Navigation --> <h3 class="tribe-events-visuallyhidden"><?php _e( 'Event Navigation', 'tribe-events-calendar' ) ?></h3> <ul class="tribe-events-sub-nav"> <li class="tribe-events-nav-previous"><?php tribe_the_prev_event_link( '<span>«</span> %title%' ) ?></li> <li class="tribe-events-nav-next"><?php tribe_the_next_event_link( '%title% <span>»</span>' ) ?></li> </ul> <!-- .tribe-events-sub-nav --> </div> <!-- #tribe-events-footer --> </div><!-- #tribe-events-content -->Thanks,
Chris-
This reply was modified 9 years, 5 months ago by
Christopher.
December 2, 2016 at 11:29 am #1201002Hunter
ModeratorChris,
Having outdated code could be a contributing factor to this issue, though I can’t be 100% certain. I recommend updating your custom template with the latest code when you can find the time. Hope this helps and have a great weekend ahead!
December 24, 2016 at 8:35 am #1210288Support Droid
KeymasterHey 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 -
This reply was modified 9 years, 5 months ago by
-
AuthorPosts
- The topic ‘Events showing incorrect event times in google search results’ is closed to new replies.
