This commit is contained in:
2026-03-05 15:16:42 +01:00
parent 0c6ff3c3c2
commit 530a6f0c27
5 changed files with 199 additions and 3 deletions

View File

@@ -1 +1 @@
.elementor-element.elementor-arrows-position-outside .swiper,.elementor-lightbox.elementor-arrows-position-outside .swiper{width:calc(100% - 160px)}#header-nav ul.elementor-nav-menu li.menu-item a::after{bottom:-5px}/*# sourceMappingURL=custom.css.map */
.elementor-element.elementor-arrows-position-outside .swiper,.elementor-lightbox.elementor-arrows-position-outside .swiper{width:calc(100% - 160px)}#header-nav ul.elementor-nav-menu li.menu-item a::after{bottom:-5px}.spot.is-reserved{fill:#f4eba8}.spot.is-sold{fill:#f54040}/*# sourceMappingURL=custom.css.map */

View File

@@ -1 +1 @@
{"version":3,"sources":["custom.scss"],"names":[],"mappings":"AAAA,2HAEC,wBAAA,CAQG,wDACC,WAAA","file":"custom.css"}
{"version":3,"sources":["custom.scss"],"names":[],"mappings":"AAAA,2HAEC,wBAAA,CAQG,wDACC,WAAA,CASJ,kBACC,YAAA,CAED,cACC,YAAA","file":"custom.css"}

View File

@@ -16,3 +16,12 @@
}
}
}
.spot {
&.is-reserved {
fill: #f4eba8;
}
&.is-sold {
fill: #f54040;
}
}

View File

@@ -287,3 +287,24 @@ add_action( 'wp_enqueue_scripts', function() {
}
}, PHP_INT_MAX );
function he_garage_map_shortcode($atts = [], $content = null, $tag = '') {
$atts = shortcode_atts([
// 'example' => '',
], $atts, $tag);
$template = locate_template('template-parts/garage-map.php', false, false);
if (empty($template) || !file_exists($template)) {
return '<!-- garage-map.php not found -->';
}
ob_start();
$garage_map_atts = $atts;
include $template;
return ob_get_clean();
}
add_shortcode('garage_map', 'he_garage_map_shortcode');

File diff suppressed because one or more lines are too long