переработал систему модалок и добавил блоки
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user