diff --git a/footer-pets.php b/footer-pets.php
index 64f92c9..f9acb8e 100644
--- a/footer-pets.php
+++ b/footer-pets.php
@@ -321,7 +321,9 @@ document.write('
-
+
diff --git a/footer.php b/footer.php
index 0f7436b..994c08d 100644
--- a/footer.php
+++ b/footer.php
@@ -312,7 +312,9 @@ document.write('
-
+
diff --git a/functions.php b/functions.php
index ea1ae6c..7a89678 100644
--- a/functions.php
+++ b/functions.php
@@ -44,14 +44,16 @@ ini_set('display_errors','off');
use PHPMailer\PHPMailer\PHPMailer;
-require_once 'vite.config.php';
-
//add jquery
function theme_enqueue_scripts() {
wp_enqueue_script('jquery');
}
add_action('wp_enqueue_scripts', 'theme_enqueue_scripts', 1);
+require_once 'vite.config.php';
+
+
+
//setlocale(LC_ALL, 'ru_RU', 'ru_RU.UTF-8', 'ru', 'russian');
@@ -268,14 +270,6 @@ add_filter( 'single_template', function ( $single_template ) {
}, PHP_INT_MAX, 2 );
-//куки
-function add_cookie_consent() {
- if (!isset($_COOKIE['cookie_consent_accepted'])) {
- get_template_part('cookie-consent');
- }
-}
-add_action('wp_footer', 'add_cookie_consent');
-
#search
function my_search_order( $query ) {
diff --git a/vite.config.php b/vite.config.php
index 4b2e677..164993f 100755
--- a/vite.config.php
+++ b/vite.config.php
@@ -33,8 +33,8 @@ add_action( 'wp_enqueue_scripts', function () {
$style_ver = filemtime(get_template_directory() . $fstyle);
$script_ver = filemtime(get_template_directory() . $fscript);
- wp_enqueue_style('vij-style', get_template_directory_uri() . $fstyle, array(), $style_ver.'10');
- wp_enqueue_script('vij-script', get_template_directory_uri() . $fscript, array(), $script_ver, 5);
+ wp_enqueue_style('vij-style', get_template_directory_uri() . $fstyle, array(), $style_ver.'17');
+ wp_enqueue_script('vij-script', get_template_directory_uri() . $fscript, array(), $script_ver.'10', 5);
}
});