ENQUEUING cahop js in dynamiques
This commit is contained in:
parent
41f20e9f19
commit
78c1ac8cf6
|
|
@ -70,10 +70,11 @@ function dynamiques_enqueue_scripts()
|
||||||
if (file_exists(get_template_directory() . '/css/app.css')) {
|
if (file_exists(get_template_directory() . '/css/app.css')) {
|
||||||
wp_enqueue_style('parent-style', $parent_style, array(), $theme->get('Version'));
|
wp_enqueue_style('parent-style', $parent_style, array(), $theme->get('Version'));
|
||||||
}
|
}
|
||||||
|
wp_enqueue_script_module('carhop-js', get_template_directory_uri() . '/js/app.js', array(), $theme->get('Version'));
|
||||||
|
|
||||||
// Enqueue child theme styles
|
// Enqueue child theme styles
|
||||||
wp_enqueue_style('tailpress', dynamiques_asset('css/app.css'), array('parent-style'), $theme->get('Version'));
|
wp_enqueue_style('carhop-main-css', dynamiques_asset('css/app.css'), array('parent-style'), $theme->get('Version'));
|
||||||
wp_enqueue_script('tailpress', dynamiques_asset('js/app.js'), array(), $theme->get('Version'));
|
wp_enqueue_script('carhop-main-js', dynamiques_asset('js/app.js'), array(), $theme->get('Version'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user