Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bigdigital/8b443fb78d1487812b7b616fcfc4a52c to your computer and use it in GitHub Desktop.
Save bigdigital/8b443fb78d1487812b7b616fcfc4a52c to your computer and use it in GitHub Desktop.
The7 add JS/ HTML to footer
// Add scripts to wp_footer()
function child_theme_footer_script() { ?>
<!-- Your JS/HTML goes here -->
<?php }
add_action( 'wp_footer', 'child_theme_footer_script' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment