Adding code to <head> or header.php / footer.php
Are you trying to set up Google Analytics, Google Adsense, or Rich Pins on Pinterest? There are many online applications where you may be instructed to paste a code snippet in the "head" or "footer" section of your site. It may also be referred to as "header.php" or "footer.php." The Genesis Framework makes this super easy!
- In your WordPress dashboard, go to Genesis > Theme Settings.
- At the bottom, click on the "Header/Footer Scripts" section.
- To add code to the head of your site, paste the code in the "Header Scripts" box. To add code to the footer of your site, paste the code in the "Footer Scripts" box.
- Save changes. Voilà! Your code has been installed.