This commit is contained in:
Roman Pyrih
2024-11-14 16:02:05 +01:00
parent e293b7ee41
commit 4d90bf6de0
5 changed files with 490 additions and 1 deletions

View File

@@ -282,4 +282,12 @@ 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');
add_action('wp_enqueue_scripts', 'cookie_notice_pro');
function display_black_week_page() {
ob_start();
include get_template_directory() . '/custom-pages/black-week.php';
return ob_get_clean();
}
add_shortcode('page_black_week', 'display_black_week_page');