{"id":1241753,"date":"2017-02-19T11:09:04","date_gmt":"2017-02-19T19:09:04","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-unlinked-venues-organizers\/"},"modified":"2017-02-20T16:02:19","modified_gmt":"2017-02-21T00:02:19","slug":"removing-unlinked-venues-organizers","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-unlinked-venues-organizers\/","title":{"rendered":"Removing unlinked venues &amp; organizers"},"content":{"rendered":"<p>Is there a way to remove all venues and organizers which aren&#8217;t currently linked to an event?<\/p>\n<p>We&#8217;re running a large calendar and the admin often creates a new venue or organizer instead of using a saved one. While encouraging the admin not do this anymore, it would be helpful if we could somehow remove all the excess venues and organizers.<\/p>\n<p>True, they wouldn&#8217;t be available as saved entries until the info was reentered, but at this point trying to determine which are not being used by going through and viewing them one by one isn&#8217;t really feasible (1500 venues, 2000 organizers).<\/p>\n<p>The main reason is actually because we export the calendar each week for print. It&#8217;s just that week&#8217;s events, but because those events may reference any venue or organizer, we have to export all of them every time, and it&#8217;s getting rather slow. We export using WP All Export, which lets you select posts with WP Query. We just use:<\/p>\n<pre><code>\r\n'post_type' =&gt; array('tribe_venue','tribe_organizer'),\r\n'post_status' =&gt; 'publish'\r\n<\/code><\/pre>\n<p>So if there&#8217;s a way to sort out what&#8217;s linked and what isn&#8217;t at that step that would solve the immediate issue. But still, I think having a way to remove unused venues and organizers would definitely be useful for any user with a busy calendar looking to keep things streamlined, particularly regarding reusing the same venue and organizer info (same but slightly different so a simple duplicate search doesn&#8217;t work).<\/p>\n<p>Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-1241753","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>Removing unlinked venues &amp; organizers -<\/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\/removing-unlinked-venues-organizers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Removing unlinked venues &amp; organizers -\" \/>\n<meta property=\"og:description\" content=\"Is there a way to remove all venues and organizers which aren&#8217;t currently linked to an event? We&#8217;re running a large calendar and the admin often creates a new venue or organizer instead of using a saved one. While encouraging the admin not do this anymore, it would be helpful if we could somehow remove [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-unlinked-venues-organizers\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-02-21T00:02:19+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\/removing-unlinked-venues-organizers\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-unlinked-venues-organizers\/\",\"name\":\"Removing unlinked venues &amp; organizers -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-02-19T19:09:04+00:00\",\"dateModified\":\"2017-02-21T00:02:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-unlinked-venues-organizers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-unlinked-venues-organizers\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-unlinked-venues-organizers\/#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\":\"Removing unlinked venues &amp; organizers\"}]},{\"@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":"Removing unlinked venues &amp; organizers -","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\/removing-unlinked-venues-organizers\/","og_locale":"en_US","og_type":"article","og_title":"Removing unlinked venues &amp; organizers -","og_description":"Is there a way to remove all venues and organizers which aren&#8217;t currently linked to an event? We&#8217;re running a large calendar and the admin often creates a new venue or organizer instead of using a saved one. While encouraging the admin not do this anymore, it would be helpful if we could somehow remove [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-unlinked-venues-organizers\/","article_modified_time":"2017-02-21T00:02:19+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\/removing-unlinked-venues-organizers\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-unlinked-venues-organizers\/","name":"Removing unlinked venues &amp; organizers -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-02-19T19:09:04+00:00","dateModified":"2017-02-21T00:02:19+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-unlinked-venues-organizers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-unlinked-venues-organizers\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/removing-unlinked-venues-organizers\/#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":"Removing unlinked venues &amp; organizers"}]},{"@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\/1241753","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\/1241753\/revisions"}],"predecessor-version":[{"id":1242525,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1241753\/revisions\/1242525"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1241753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}