This commit is contained in:
Roman Pyrih
2026-04-29 14:52:32 +02:00
parent 1ab7f422f3
commit 0b81d1ca9e
6 changed files with 698 additions and 653 deletions

View File

@@ -284,8 +284,6 @@ class Calendar_Widget extends Widget_Base {
data-yachts="<?php echo esc_attr( wp_json_encode( $yacht_switcher ) ); ?>"
data-booking-enabled="<?php echo $booking_enabled ? '1' : '0'; ?>">
<?php $this->render_yacht_switcher( $yacht_switcher, $yacht_id ); ?>
<div class="yacht-calendar-header">
<h3 class="yacht-calendar-title">
<?php if ( $booking_enabled ) : ?>
@@ -507,6 +505,9 @@ class Calendar_Widget extends Widget_Base {
</div>
<?php endif; ?>
<?php endif; ?>
<?php $this->render_yacht_switcher( $yacht_switcher, $yacht_id ); ?>
</div>
<?php
}