Tagged: x
-
AuthorPosts
-
November 28, 2016 at 2:18 pm #1273626
Jorge SoutoParticipantHi,
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’);November 28, 2016 at 2:46 pm #1273648
Jorge SoutoParticipantSorry, 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’);
}November 28, 2016 at 10:13 pm #1274115
LelyModeratorHello 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 credentialsDon’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.
November 30, 2016 at 11:58 am #1276239
Jorge SoutoParticipantHello Lely
I get it. We will change the player!
Thank you for your timeRegards
November 30, 2016 at 12:05 pm #1276244
RahulModeratorSure, let us know if you need any further information.
We are always here standing by to assist you in anyway.
Thank you.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1273626 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
