- 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?