Tagged: x
-
AuthorPosts
-
October 17, 2016 at 12:32 am #1218931
stepchookParticipantI’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?
October 17, 2016 at 12:40 am #1218947
Paul RModeratorHi,
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.
October 17, 2016 at 12:48 am #1218950
stepchookParticipantHi Paul,
Thanks for your quick response. Does X have a quick and easy way of creating a child theme? I don’t have one.
October 17, 2016 at 12:53 am #1218952
RupokMemberHi 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!
October 17, 2016 at 12:55 am #1218953
stepchookParticipantBeautiful! Thanks! I’ll follow that link and then apply the solution you suggested earlier.
October 17, 2016 at 12:56 am #1218956
Paul RModeratorYou’re welcome! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1218931 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
