{"id":1087124,"date":"2016-03-10T06:29:18","date_gmt":"2016-03-10T14:29:18","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/"},"modified":"2016-03-14T22:56:14","modified_gmt":"2016-03-15T05:56:14","slug":"show-events-on-this-location-widget","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/","title":{"rendered":"Show Events on this Location widget"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I&#8217;ve got a page with all available locations with out events. In the PRO version I can use a widget for this, called (something like) Show Events on this Location which does exactly what I want. It shows all available events on the location. In our case we have nine locations, so I put them in three rows of three which looks quite good on the website. Here&#8217;s the page in question: http:\/\/www.theatercolleges.nl\/theaters\/<\/p>\n<p>But there aren&#8217;t any events planned on this location I&#8217;ve got two options. The widget has an option to hide it when there are no planned events on the location. The result of this gives a blank spot on the page, which is ok but looks a bit strange when we have more locations without events. <\/p>\n<p>The other option is that I don&#8217;t tick the option in the widget. In that case the page\/widget will show the name of the location and some other details. (in our case the name, link to the location and featured image. Followed by a sentence that there a no events planned on this location. Followed by a link &#8216;Show all events on this location&#8217;. Which is a bit strange as there aren&#8217;t any events planned.<\/p>\n<p>So my question is: can you help me to get rid of this link in the widget when there are no events planned? Or do you have any suggestions how to solve this?<\/p>\n<p>Off course I can created a single page for every location, or I can place all widgets in the same columns so they show up underneath each-other, but in that case it&#8217;s hard to see which is which. A single line around it, or a background color per location can do the trick. Here&#8217;s a link to this page I just created, so you can see the differences: http:\/\/www.theatercolleges.nl\/theatertest\/<\/p>\n<p>Hope you can help me.<\/p>\n","protected":false},"template":"","class_list":["post-1087124","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>Show Events on this Location widget -<\/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\/show-events-on-this-location-widget\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Show Events on this Location widget -\" \/>\n<meta property=\"og:description\" content=\"Hi, I&#8217;ve got a page with all available locations with out events. In the PRO version I can use a widget for this, called (something like) Show Events on this Location which does exactly what I want. It shows all available events on the location. In our case we have nine locations, so I put [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-03-15T05:56:14+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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/\",\"name\":\"Show Events on this Location widget -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-03-10T14:29:18+00:00\",\"dateModified\":\"2016-03-15T05:56:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/#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\":\"Show Events on this Location widget\"}]},{\"@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":"Show Events on this Location widget -","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\/show-events-on-this-location-widget\/","og_locale":"en_US","og_type":"article","og_title":"Show Events on this Location widget -","og_description":"Hi, I&#8217;ve got a page with all available locations with out events. In the PRO version I can use a widget for this, called (something like) Show Events on this Location which does exactly what I want. It shows all available events on the location. In our case we have nine locations, so I put [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/","article_modified_time":"2016-03-15T05:56:14+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/","name":"Show Events on this Location widget -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-03-10T14:29:18+00:00","dateModified":"2016-03-15T05:56:14+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/show-events-on-this-location-widget\/#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":"Show Events on this Location widget"}]},{"@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\/1087124","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\/1087124\/revisions"}],"predecessor-version":[{"id":1087594,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1087124\/revisions\/1087594"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1087124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}