{"id":9532103,"date":"2017-09-26T15:33:19","date_gmt":"2017-09-26T15:33:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/problem-with-layerslider-plugin\/"},"modified":"2017-10-31T17:41:05","modified_gmt":"2017-10-31T17:41:05","slug":"problem-js-with-layerslider-plugin","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/problem-js-with-layerslider-plugin\/","title":{"rendered":"Problem JS with LayerSlider plugin"},"content":{"rendered":"<p>Hello,<\/p>\n<p>Thanx for this awesome plugin! I use this plugin on several website and work good, without any errors! <\/p>\n<p>But, today I have problem on one website, when I activate LayerSlider plugin and I got white container where is layerslider.<\/p>\n<p>I check Disable JavaScript processing [ If selected, this plugin will ignore JS files completely ] and LayerSlider again works&#8230;but now ignore all JS&#8230;<\/p>\n<p>This is gtmetrix:<\/p>\n<p>61.5KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering.<\/p>\n<pre><code>https:\/\/www.website.com\/wp-content\/themes\/theme\/config-layerslider\/LayerSlider\/static\/layerslider\/js\/greensock.js (107.2KiB)\nhttps:\/\/www.website.com\/wp-content\/themes\/theme\/js\/avia.js (88.5KiB)\nhttps:\/\/www.website.com\/wp-includes\/js\/jquery\/jquery.js (87.0KiB)\nhttps:\/\/www.website.com\/wp-content\/themes\/theme\/js\/shortcodes.js (82.1KiB)\nhttps:\/\/www.website.com\/wp-includes\/js\/mediaelement\/mediaelement-and-player.min.js (65.3KiB)\nhttps:\/\/www.website.com\/wp-content\/themes\/theme\/js\/aviapopup\/jquery.magnific-popup.min.js (17.6KiB)\nhttps:\/\/www.website.com\/wp-includes\/js\/jquery\/jquery-migrate.min.js (7.7KiB)\nhttps:\/\/www.website.com\/ (1.4KiB of inline JavaScript)\nhttps:\/\/www.website.com\/wp-includes\/js\/wp-embed.min.js (1.2KiB)\nhttps:\/\/www.website.com\/wp-content\/themes\/theme\/js\/avia-compat.js (1.1KiB)\nhttps:\/\/www.website.com\/wp-includes\/js\/comment-reply.min.js (918B)\nhttps:\/\/www.website.com\/wp-includes\/js\/mediaelement\/wp-mediaelement.min.js (659B)\nhttps:\/\/www.website.com\/wp-content\/themes\/theme\/config-layerslider\/LayerSlider\/static\/layerslider\/js\/layerslider.kreaturamedia.jquery.js (346B)\nhttps:\/\/www.website.com\/wp-content\/themes\/theme\/config-layerslider\/LayerSlider\/static\/layerslider\/js\/layerslider.transitions.js (345B)<\/code><\/pre>\n<p>How to fix this problem?<\/p>\n","protected":false},"template":"","class_list":["post-9532103","topic","type-topic","status-publish","hentry","topic-tag-enfold","topic-tag-js","topic-tag-layerslider"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9532103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":3,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9532103\/revisions"}],"predecessor-version":[{"id":9532212,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9532103\/revisions\/9532212"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9532103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}