adding cookies
This commit is contained in:
@@ -272,3 +272,14 @@ function enqueue_custom_scripts() {
|
||||
wp_enqueue_script( 'custom-script', get_template_directory_uri() . '/assets/js/custom.js', array(), '1.0', true );
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'enqueue_custom_scripts' );
|
||||
|
||||
function add_custom_css() {
|
||||
wp_enqueue_style('own-custom-style', get_template_directory_uri() . '/libs/CookieNoticePro/cookienoticepro.style.css', array(), '1.0', 'all');
|
||||
}
|
||||
add_action('wp_enqueue_scripts', 'add_custom_css');
|
||||
|
||||
function cookie_notice_pro() {
|
||||
wp_enqueue_style('own-custom-style', get_template_directory_uri() . '/libs/CookieNoticePro/cookienoticepro.style.css', array(), '1.0', 'all');
|
||||
wp_enqueue_script('own-custom-script', get_template_directory_uri() . '/libs/CookieNoticePro/cookienoticepro.script.js', array('jquery'), '1.0', true);
|
||||
}
|
||||
add_action('wp_enqueue_scripts', 'cookie_notice_pro');
|
||||
Reference in New Issue
Block a user