Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1290733

    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&#8221; 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

    #1291270

    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

    #1292103

    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

    #1292416

    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

    #1294416

    Hello Nikko,
    great, thanks for your info.
    Best regards
    Severin

    #1294448

    Hi,

    Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1294607

    Hi Jordan Shannon,
    Thanks, everything works. You can close.
    Best regards,
    Severin

    #1294633

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Function in my theme functions (functions.php)’ is closed to new replies.