{"id":86893,"date":"2014-01-04T11:41:08","date_gmt":"2014-01-04T19:41:08","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/"},"modified":"2014-02-10T18:29:41","modified_gmt":"2014-02-11T02:29:41","slug":"disable-isotope-library-in-photo-view-upgrade-safe","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/","title":{"rendered":"Disable isotope library in photo view (upgrade-safe)"},"content":{"rendered":"<p>Hey!<\/p>\n<p>I want to disable the isotope library of the photo-view in my child theme. I made a quickfix in<br \/>\n wp-content\/plugins\/events-calendar-pro\/resources\/tribe-events-photo-view.js (Line 113) and changed the minified version accordingly:<\/p>\n<p>\/\/ tribe_setup_isotope($container);<br \/>\n$(&#8216;#tribe-events-photo-events&#8217;).removeClass(&#8220;photo-hidden&#8221;).css(&#8220;opacity&#8221;, &#8220;1&#8221;);<\/p>\n<p>But after an update of the plugin the code will be gone of course.<\/p>\n<p>I also tried dequeing the isotope script in child-theme\/functions.php:<\/p>\n<p>add_action(&#8216;wp_print_scripts&#8217;,&#8217;example_dequeue_myscript&#8217;);<br \/>\nfunction example_dequeue_myscript() {<br \/>\n   wp_dequeue_script( &#8216;tribe-events-pro-isotope&#8217; );<br \/>\n   wp_deregister_script( \u2018tribe-events-pro-isotope\u2019 );<br \/>\n}<\/p>\n<p>Thanks in advance for suggestions!<\/p>\n","protected":false},"template":"","class_list":["post-86893","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>Disable isotope library in photo view (upgrade-safe) -<\/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\/disable-isotope-library-in-photo-view-upgrade-safe\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Disable isotope library in photo view (upgrade-safe) -\" \/>\n<meta property=\"og:description\" content=\"Hey! I want to disable the isotope library of the photo-view in my child theme. I made a quickfix in wp-content\/plugins\/events-calendar-pro\/resources\/tribe-events-photo-view.js (Line 113) and changed the minified version accordingly: \/\/ tribe_setup_isotope($container); $(&#8216;#tribe-events-photo-events&#8217;).removeClass(&#8220;photo-hidden&#8221;).css(&#8220;opacity&#8221;, &#8220;1&#8221;); But after an update of the plugin the code will be gone of course. I also tried dequeing the isotope script in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-02-11T02:29:41+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/\",\"name\":\"Disable isotope library in photo view (upgrade-safe) -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-01-04T19:41:08+00:00\",\"dateModified\":\"2014-02-11T02:29:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/#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\":\"Disable isotope library in photo view (upgrade-safe)\"}]},{\"@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":"Disable isotope library in photo view (upgrade-safe) -","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\/disable-isotope-library-in-photo-view-upgrade-safe\/","og_locale":"en_US","og_type":"article","og_title":"Disable isotope library in photo view (upgrade-safe) -","og_description":"Hey! I want to disable the isotope library of the photo-view in my child theme. I made a quickfix in wp-content\/plugins\/events-calendar-pro\/resources\/tribe-events-photo-view.js (Line 113) and changed the minified version accordingly: \/\/ tribe_setup_isotope($container); $(&#8216;#tribe-events-photo-events&#8217;).removeClass(&#8220;photo-hidden&#8221;).css(&#8220;opacity&#8221;, &#8220;1&#8221;); But after an update of the plugin the code will be gone of course. I also tried dequeing the isotope script in [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/","article_modified_time":"2014-02-11T02:29:41+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/","name":"Disable isotope library in photo view (upgrade-safe) -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-01-04T19:41:08+00:00","dateModified":"2014-02-11T02:29:41+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/disable-isotope-library-in-photo-view-upgrade-safe\/#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":"Disable isotope library in photo view (upgrade-safe)"}]},{"@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\/86893","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":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/86893\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=86893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}