Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chellestein/81bd9bd7de6add993a72e3d46037dfc3 to your computer and use it in GitHub Desktop.
Save chellestein/81bd9bd7de6add993a72e3d46037dfc3 to your computer and use it in GitHub Desktop.
Add Header Scripts to WP
/* 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