Add Custom Scripts

To add custom scripts to your site you can of course paste in simple header/footer script code through the appropriate Freelancer Theme Options, but for the use of an actual javascript file you can do the following. Just create a scripts.js file (or name it whatever you like) inside the root of your Child Theme directory (or in a sub directory, but note that this will require tweaking of the code provided below), and then paste the code below into your Child Theme's functions.php file, inside the function that is hooked into the wp_enqueue_scripts hook:

Or, for an example of the entire code snippet, wp_enqueue_scripts and all, see the code below:

And of course, depending on the various specifics of your script file (name, location, etc...) you'll want to edit these code snippets appropriately.