Hi,
i am building a guided tour through my Pro built site, and i need to enqueue some files for it.
I tried adding this to my child theme’s function.php, but it returns the error : Scrape nonce check failed. Please try again.??
function add_hs_scripts() {
wp_enqueue_style( 'style', get_stylesheet_uri() );
wp_enqueue_style( 'hopscotch', get_template_directory_uri() . '/css/hopscotch.css', array(), '1.1', 'all');
wp_enqueue_script( 'script', get_template_directory_uri() . '/js/hopscotch.js', array ( 'jquery' ), 1.1, true);
}
add_action( 'wp_enqueue_scripts', 'add_hs_scripts' );