Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1210589
    jdfesta
    Participant

    Good evening. I’m trying to activate my SumoMe account and I need to place code in my header for them to see. When I go into the theme editor I don’t see a header section though?

    Site: nyctoursandphotosafaris.com

    Thank you!

    Jessica Festa

    #1210871
    Jade
    Moderator

    Hi Jessica,

    Thanks for writing in! For this particular situation one of the easiest things you could do is output some content via a custom function in a child theme. To accomplish this, you will first need to setup a child theme then add the following code to the functions.php file of that theme:

    function my_custom_head_output() {
      ?>
        ...code here...
      <?php
    }
    
    add_action( 'wp_head', 'my_custom_head_output', 99999 );

    Hope this helps.

    #1213325
    jdfesta
    Participant

    Hmmm sorry to sound dumb I’m not sure how to setup a child theme if I already have X Theme?

    #1213371
    Rahul
    Moderator

    Hey There,

    Thanks for writing back!

    Kindly walk-through the guidelines given in the following thread. You’ll be able to setup your own Child theme to open a whole new world of modifications without losing anything of your parent X theme :

    https://community.theme.co/kb/how-to-setup-child-themes/

    Hope this helps!

    #1216657
    jdfesta
    Participant

    Thanks! Will give it a try.

    #1217026
    Friech
    Moderator

    You’re welcome, please let us know how it goes.

    Cheers!

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