Hello Enfold Team,
I have a request. In my theme functions (functions.php) I have a function that I don’t know why I added it.
Can you please take a look at this function. Can you tell me what is the function behind it?
——————————————————————————
function jQuery_head(){
?>
<script src=”https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js” integrity=”sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg==” crossorigin=”anonymous”></script>
<?php
}
add_action(‘wp_head’, ‘jQuery_head’);
——————————————————————————
Thank you in advance for your help.
With best regards,
Severin
Hi Severin,
The code is basically just calling an external jquery file.
Can you give us a link to your site? so we can inspect the site.
Best regards,
Nikko
Hello Nikko,
yes, please attach the access data.
Unfortunately, I can’t remember having injected the code :-),
Maybe you can tell me what exactly the code is for and whether I still need it.
Many thanks in advance.
With best regards
Severin
Hi Severin03,
Thanks for giving us admin access.
I have commented out (equivalent to removed) that code, it does not seem to affect anything.
Best regards,
Nikko
Hello Nikko,
great, thanks for your info.
Best regards
Severin
Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan Shannon
Hi Jordan Shannon,
Thanks, everything works. You can close.
Best regards,
Severin
Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon