Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1273626
    Jorge Souto
    Participant

    Hi,

    I have a enqueing script placed in child-theme functions.php to run a audio player. However, everytime i activate The Grid plugin, the player don’t work. Before you ask, the player only works with this version of jQuery. Any help, it will be quite apreciated. Thanks

    function custom_js() {
    wp_enqueue_script(‘js-link’, ‘http://code.jquery.com/jquery-1.12.4.min.js’, false);
    }
    add_action(‘wp_enqueue_scripts’, ‘custom_js’);

    #1273648
    Jorge Souto
    Participant

    Sorry, wrong script. This is the right one,

    if (!is_admin()) add_action(“wp_enqueue_scripts”, “my_jquery_enqueue”, 12);
    function my_jquery_enqueue() {
    wp_deregister_script(‘jquery’);
    wp_register_script(‘jquery’, “http” . ($_SERVER[‘SERVER_PORT’] == 443 ? “s” : “”) . “://code.jquery.com/jquery-1.12.4.min.js”, false, null);
    wp_enqueue_script(‘jquery’);
    }

    #1274115
    Lely
    Moderator

    Hello Jorge,

    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.

    Jquery library is loaded by wordpress by default. The theme and most of the plugins uses this library. We can check but we cannot promise a fix because if the grid only works on the latest version of this library, you have to choose which one you preferred to use.

    #1276239
    Jorge Souto
    Participant

    Hello Lely

    I get it. We will change the player!
    Thank you for your time

    Regards

    #1276244
    Rahul
    Moderator

    Sure, let us know if you need any further information.

    We are always here standing by to assist you in anyway.

    Thank you.

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