Forked from cobaltapps/freelancer-add-custom-scripts.php
Created
March 7, 2019 02:07
-
-
Save DalavanCloud/3a04e4dab0ea57a6fbcfc267bdb86534 to your computer and use it in GitHub Desktop.
Use the following code inside the function hooked into wp_enqueue_scripts inside your Child Theme's functions.php file.
This file contains hidden or 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
| /* # Custom Scripts | |
| * To add custom scripts just create a scripts.js file in your root | |
| * child theme folder and use the code below to enqueue it. | |
| */ | |
| wp_enqueue_script( 'freelancer-child-scripts', get_stylesheet_directory_uri() . '/scripts.js', array( 'jquery' ), FREELANCER_CHILD_THEME_VERSION, true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment