переработал систему модалок и добавил блоки

This commit is contained in:
GP_DEV
2025-06-07 23:28:58 +03:00
parent 9aa5906efa
commit 5e346cfa36
10 changed files with 348 additions and 314 deletions

View File

@@ -117,7 +117,7 @@ function get_current_room() {
$modal_file = get_template_directory() . '/template-parts/la-components/functions/modals.php';
$block_file = get_template_directory() . '/template-parts/la-components/functions/blocks.php';
$forms_file = get_template_directory() . '/template-parts/la-components/functions/forms.php';
if (file_exists($block_file)) {
require_once $block_file;
}
@@ -125,6 +125,9 @@ if (file_exists($modal_file)) {
require_once $modal_file;
}
if (file_exists($forms_file)) {
require_once $forms_file;
}
function enqueue_swiper_assets() {
wp_enqueue_style(
'swiper-css',