# fluent-booking/2.5.0/app/Views/public/calendar.php

Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution, version 2.5.0. 30 lines.

- Page: https://pluginprobe.com/plugins/fluent-booking/2.5.0/code/app/Views/public/calendar.php
- Raw: https://pluginprobe.com/plugins/fluent-booking/2.5.0/raw/app/Views/public/calendar.php
- Modified: 2026-08-28T13:36:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-booking/2.5.0/code/app/Views/public/calendar.php#L10-L20`.

```php
<?php
defined( 'ABSPATH' ) || exit;

use FluentBooking\App\Models\CalendarSlot;

/**
 * @var string       $theme
 * @var CalendarSlot $calenderEvent
 */

$mode = '';
if ($theme == 'dark') {
    $mode = 'fcal-dark-mode';
} else if ($theme == 'light') {
    $mode = 'fcal-light-mode';
}
?>
<div class="fcal_cal_wrap <?php echo esc_attr($mode); ?>">
    <div class="fluent_booking_app" data-calendar_id="<?php echo (int)$calenderEvent->calendar_id; ?>"
         data-event_id="<?php echo (int)$calenderEvent->id; ?>"></div>
    <?php do_action('fluent_booking/short_code_render', $calenderEvent); ?>
</div>

<style>
    .fcal_phone_wrapper .flag {
        background: url(<?php echo esc_url(\FluentBooking\App\App::getInstance()['url.assets'].'images/flags_responsive.png'); ?>) no-repeat;
        background-size: 100%;
    }
</style>

```
