Tagged: x
-
AuthorPosts
-
June 4, 2016 at 12:09 am #1025279
bedingfieldParticipantHi there,
I am using a function to defer parsing of JavaScript in WordPress, but I get this error…
Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.
This includes make eliminates the revolution slider libraries, and make it not work.To fix it you can:
1. In the Slider Settings -> Troubleshooting set option: Put JS Includes To Body option to true.
2. Find the double jquery.js include and remove it.I have tried the above to no avail.
this is the code I am using…
function defer_parsing_of_js ( $url ) { if ( FALSE === strpos( $url, '.js' ) ) return $url; if ( strpos( $url, 'jquery.js' ) ) return $url; return "$url' defer "; } add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );http://mygenesisthemes.com/defer-parsing-of-javascript-wordpress/
Any fixes?
Thank you
June 4, 2016 at 5:34 am #1025510
ThaiModeratorHi There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
June 4, 2016 at 9:28 am #1025655
bedingfieldParticipantThis reply has been marked as private.June 5, 2016 at 1:06 am #1026280
RadModeratorHi there,
It’s now fixed. It’s under your slider’s “Problem Handlings” setting. I enabled Put JS Includes to the Body.
Cheers!
June 5, 2016 at 1:29 am #1026305
bedingfieldParticipantThank you
June 5, 2016 at 8:52 am #1026609
ChristopherModeratorYou’re welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1025279 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
