{"id":965259,"date":"2015-05-26T16:37:59","date_gmt":"2015-05-26T23:37:59","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/"},"modified":"2015-06-03T03:39:34","modified_gmt":"2015-06-03T10:39:34","slug":"added-venue-to-week-view-shows-same-venue-for-all-events","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/","title":{"rendered":"Added &quot;Venue&quot; to week view, shows same venue for all events."},"content":{"rendered":"<p>Hi, I recently purchased the events calendar pro (awesome), but have hit a snag. While making some minor adjustments to the &#8220;single-event-allday.php&#8221; template file to try and get just the venue to show, nothing else. It&#8217;s working fine, except it shows the same venue for every event, and I can&#8217;t figure out what else to do. Tried using wp_reset_postdata() just for the heck of it and no beuno. If you could help me out that would be awesome.<\/p>\n<pre><code>if ( ! defined( &#039;ABSPATH&#039; ) ) {\n\tdie( &#039;-1&#039; );\n} ?&gt;\n\n&lt;?php if ( tribe_events_week_is_all_day_placeholder() ) : ?&gt;\n\t&lt;div class=&quot;tribe-event-placeholder hentry vevent &quot; data-event-id=&quot;&lt;?php tribe_events_week_get_event_id(); ?&gt;&quot;&gt;&amp;nbsp;&lt;\/div&gt;\n&lt;?php else : $event = tribe_events_week_get_event(); ?&gt;\n\t&lt;div id=&#039;tribe-events-event-&lt;?php echo $event-&gt;ID; ?&gt;&#039; class=&#039;&lt;?php echo tribe_events_event_classes( $event-&gt;ID ); ?&gt; tribe-week-event&#039; &lt;?php tribe_events_the_header_attributes( &#039;week-all-day&#039; ); ?&gt; data-tribejson=&#039;&lt;?php echo tribe_events_template_data( $event ); ?&gt;&#039;&gt;\n\t\t&lt;div&gt;\n\t\t\t&lt;h3 class=&quot;entry-title summary&quot;&gt;\n\t\t\t\t&lt;a href=&quot;&lt;?php tribe_event_link( $event ); ?&gt;&quot; class=&quot;url&quot; rel=&quot;bookmark&quot;&gt;&lt;?php echo $event-&gt;post_title; ?&gt;&lt;\/a&gt;\n\t\t\t&lt;\/h3&gt;\n\t\t\t&lt;?php tribe_get_template_part( &#039;modules\/meta\/venue&#039; ); ?&gt;\n\t\t&lt;\/div&gt;\n\t&lt;\/div&gt;\n\t&lt;?php wp_reset_postdata(); ?&gt;\n&lt;?php endif; ?&gt;\n<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-965259","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Added &quot;Venue&quot; to week view, shows same venue for all events. -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Added &quot;Venue&quot; to week view, shows same venue for all events. -\" \/>\n<meta property=\"og:description\" content=\"Hi, I recently purchased the events calendar pro (awesome), but have hit a snag. While making some minor adjustments to the &#8220;single-event-allday.php&#8221; template file to try and get just the venue to show, nothing else. It&#8217;s working fine, except it shows the same venue for every event, and I can&#8217;t figure out what else to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-06-03T10:39:34+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/\",\"name\":\"Added &quot;Venue&quot; to week view, shows same venue for all events. -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-05-26T23:37:59+00:00\",\"dateModified\":\"2015-06-03T10:39:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Added &quot;Venue&quot; to week view, shows same venue for all events.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Added &quot;Venue&quot; to week view, shows same venue for all events. -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/","og_locale":"en_US","og_type":"article","og_title":"Added &quot;Venue&quot; to week view, shows same venue for all events. -","og_description":"Hi, I recently purchased the events calendar pro (awesome), but have hit a snag. While making some minor adjustments to the &#8220;single-event-allday.php&#8221; template file to try and get just the venue to show, nothing else. It&#8217;s working fine, except it shows the same venue for every event, and I can&#8217;t figure out what else to [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/","article_modified_time":"2015-06-03T10:39:34+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/","name":"Added &quot;Venue&quot; to week view, shows same venue for all events. -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-05-26T23:37:59+00:00","dateModified":"2015-06-03T10:39:34+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/added-venue-to-week-view-shows-same-venue-for-all-events\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Added &quot;Venue&quot; to week view, shows same venue for all events."}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/965259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/965259\/revisions"}],"predecessor-version":[{"id":965405,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/965259\/revisions\/965405"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=965259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}