Home › Forums › Support › Add code before tag using functions.php This topic has 3 replies, 2 voices, and was last updated 4 years ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts March 19, 2019 at 1:46 am #842997 Kemo Hi! Can you guide me how to add a code snippet just before the end of the BODY tag using my child theme’s functions.php? usually, I’d add it to footer.php, but my child theme doesn’t have one and not sure how to create it. thanks GeneratePress 2.2.2GP Premium 1.7.8 March 19, 2019 at 5:12 am #843150 DavidStaff Customer Support Hi there, are you using the Parent Theme footer ? If so then the after_footer hook still exists: https://docs.generatepress.com/article/generate_after_footer/ You can also use the Hook Element to also add content/code there. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ March 19, 2019 at 5:19 am #843153 Kemo I’m still using it. thanks I’ll check that out. March 19, 2019 at 5:23 am #843156 DavidStaff Customer Support You’re welcome. Let us know Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In