Child Theme and functions.js

Multipurpose WordPress Theme Forum Support
GK User
Thu Jun 30, 2016 2:52 pm
In functions.php file you using wp_enqueue_script for loading script files. In most cases using get_template_directory_uri() variable for that, but there is one exception:
Code: Select all
// Loads JavaScript file with functionality specific to Quark.
wp_enqueue_script( 'quark-script', get_stylesheet_directory_uri() . '/js/functions.js', array( 'jquery' ), '', true );

As a result, we need to be sure to have a copy of functions.js file in the child template directory.
Otherwise, nothing works (stucks on page loading :? ).
So it is conceived?
User avatar
Junior Boarder

Joshua M
Fri Jul 01, 2016 9:26 am
Hello,

Thank you for the feedback, we'll improve it with the next theme update.
User avatar
Moderator

GK User
Fri Jul 01, 2016 10:57 am
OK, thanks!
User avatar
Junior Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.