Hi,
i have to integrate a javascript-snippet to get an flexible iframe on this site http://shop.schuhhaus-rekers.de/damenschuhe/. But the snippet produces javascript-conflicts. What is to do?
Best regards
Berthold Blesenkemper
Hi Berthold!
Can you please try adding following code to Functions.php file in Appearance > Editor
function custom_js_code(){
?>
// YOUR CODE GOES HERE
<?php
}
add_action('wp_footer', 'custom_js_code');
and undo the changes you made
Regards,
Yigit
Hi Yigit,
thank you, but it doesn’t work. Now the problems are multiplicand to the other posts, too. The Search-buttom doesn’t work and the mobile-menue is gone.
look at http://shop.schuhhaus-rekers.de/damenschuhe/?s=
Best regards
Berthold
Hi!
Please do not enqueue jQuery files as they are already enqueued in WordPress.
Best regards,
Yigit
Hi,
is it possible to combine two jQuery files or put them together?
Best regards
Berthold
Hi!
No need to do that, just don’t include jQuery in your custom code, the one included by WordPress/Enfold will be used instead.
Best regards,
Josue