Tags

,

Copy this line and add in your theme header.php file.
Path : projectname/wp-content/themes/yourtheme/header.php

<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/script.js"></script>

File

Add the script.js file here :
projectname/wp-content/themes/yourtheme/js/script.js

Advertisements