Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1067144
    Mark C
    Participant

    Greetings!

    I have some code from a support widget that I want to install on my site, but I’m not very versed on things like this. I have the code and their instructions say to “Copy and paste the code onto your website, directly above the </head> tag in the HTML, to add the support widget to your site.”

    Could you direct me on where this is when I’m using a child theme? Thanks so much!

    #1067410
    Jade
    Moderator

    Hi Mark,

    If you already have the child theme active then you can add this code in the functions.php:

    add_action('wp_head','custom_script');
    
    function custom_script() {
    ?>
         
        <!-- Add the code here -->
    
    <?php
    }

    Place the code in the area <!-- Add the code here -->. Hope this helps.

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