Created
May 15, 2022 18:07
-
-
Save chellestein/81bd9bd7de6add993a72e3d46037dfc3 to your computer and use it in GitHub Desktop.
Add Header Scripts to WP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This code adds your header scripts to your WP site. */ | |
add_action('wp_head', 'cs_headerscripts'); | |
function cs_headerscripts(){ | |
?> | |
<!-- Paste Your Google Analytics and Other Scripts Here --> | |
<?php | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment