Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1218931
    stepchook
    Participant

    I’m trying to install Sumo Me and to do that I need to paste some HTML into my <head> section. I assume this is in my header.php.

    Is there a simple way of doing this?

    #1218947
    Paul R
    Moderator

    Hi,

    You can add this in your child theme’s functions.php file (wp-content/themes/x-child/functions.php).

    
    /* Sumo Me */
    function add_custom_script() {
    ?>
         ADD YOUR SCRIPT HERE
    <?php 
    }
    
    add_action('wp_head','add_custom_script');
    

    Hope that helps.

    #1218950
    stepchook
    Participant

    Hi Paul,

    Thanks for your quick response. Does X have a quick and easy way of creating a child theme? I don’t have one.

    #1218952
    Rupok
    Member

    Hi there,

    Yes we have Child Theme that you can download. Let’s follow the guide to setup Child Theme and download form there.

    Download link – https://community.theme.co/child-theme/

    Cheers!

    #1218953
    stepchook
    Participant

    Beautiful! Thanks! I’ll follow that link and then apply the solution you suggested earlier.

    #1218956
    Paul R
    Moderator

    You’re welcome! 🙂

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