Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1025279
    bedingfield
    Participant

    Hi 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

    #1025510
    Thai
    Moderator

    Hi 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 credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1025655
    bedingfield
    Participant
    This reply has been marked as private.
    #1026280
    Rad
    Moderator

    Hi there,

    It’s now fixed. It’s under your slider’s “Problem Handlings” setting. I enabled Put JS Includes to the Body.

    Cheers!

    #1026305
    bedingfield
    Participant

    Thank you

    #1026609
    Christopher
    Moderator

    You’re welcome.

  • <script> jQuery(function($){ $("#no-reply-1025279 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>