# fluent-booking/trunk/app/Views/landing/author_landing.php

Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution, version trunk. 109 lines.

- Page: https://pluginprobe.com/plugins/fluent-booking/trunk/code/app/Views/landing/author_landing.php
- Raw: https://pluginprobe.com/plugins/fluent-booking/trunk/raw/app/Views/landing/author_landing.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/trunk/code/app/Views/landing/author_landing.php#L10-L20`.

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

use FluentBooking\App\Models\Calendar;

/**
 * @var Calendar $calendar
 * @var iterable $events
 * @var array    $author
 * @var string   $title
 * @var string   $description
 * @var string   $url
 * @var bool     $embedded
 * @var array    $css_files
 * @var array    $js_files
 * @var array    $js_vars
 * @var array    $header_js_files
 */
?>

<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
    <title><?php echo esc_attr($title); ?></title>
    <meta charset='utf-8'>

    <meta content='width=device-width, initial-scale=1' name='viewport'>
    <meta content='yes' name='apple-mobile-web-app-capable'>
    <meta name="description" content="<?php echo esc_attr($description); ?>">
    <meta name="robots" content="noindex"/>

    <?php if (!empty($author['avatar'])): ?>
        <link rel="icon" type="image/x-icon" href="<?php echo esc_url($author['avatar']); ?>">
    <?php endif; ?>

    <meta property="og:title" content="<?php echo esc_attr($title); ?>"/>
    <meta property="og:type" content="website">
    <meta property="og:url" content="<?php echo esc_url($url); ?>"/>
    <meta property="og:description" content="<?php echo esc_attr($description); ?>"/>
    <meta property="og:author" content="<?php echo esc_attr($author['name']); ?>"/>

    <?php if (!empty($author['featured_image'])) {
        ?>
        <meta property="og:image" content="<?php echo esc_url($author['featured_image']); ?>"/>
    <?php } ?>

    <?php foreach ($css_files as $fluentBookingCssFile): ?>
        <?php // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet ?>
        <link rel="stylesheet" href="<?php echo esc_url($fluentBookingCssFile); ?>?version=<?php echo esc_html(FLUENT_BOOKING_ASSETS_VERSION); ?>" media="screen"/>
    <?php endforeach; ?>

    <style>
        :root {
            --fcal_dark: #1B2533;
            --fcal_primaryColor: #2653C7;
            --fcal_gray: #6b7280;
        }

        .fluent_booking_wrap {
            max-width: 752px;
            margin: 40px auto;
        }
        .fluent_booking_app {
            margin-top: 66px;
        }
        .fcal_author_header {
            max-width: 600px;
            margin: auto;
        }
        .fcal_slot {
            background: #fff;
        }

        .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>

    <?php foreach ($header_js_files as $fluentBookingFileKey => $fluentBookingFile): ?>
        <script id="<?php echo esc_attr($fluentBookingFileKey); ?>"<?php echo \FluentBooking\App\Vite::isDev() ? ' type="module"' : ''; ?> src="<?php echo esc_url($fluentBookingFile); ?>?version=<?php echo esc_attr(FLUENT_BOOKING_ASSETS_VERSION); ?>"></script>
    <?php endforeach; ?>

    <?php do_action('fluent_booking/main_landing'); ?>
</head>
<body>
        <?php \FluentBooking\App\App::getInstance('view')->render('landing.author_html', [
            'author'   => $author,
            'calendar' => $calendar,
            'events'   => $events,
            'embedded' => $embedded
        ]); ?>
        </div>
    </div>

    <script>
        <?php foreach ($js_vars as $fluentBookingVarKey => $fluentBookingValues): ?>
            var <?php echo esc_attr($fluentBookingVarKey); ?> = <?php echo wp_json_encode($fluentBookingValues); ?>;
        <?php endforeach; ?>
    </script>

    <?php foreach ($js_files as $fluentBookingFileKey => $fluentBookingFile): ?>
        <script id="<?php echo esc_attr($fluentBookingFileKey); ?>"<?php echo \FluentBooking\App\Vite::isDev() ? ' type="module"' : ''; ?> src="<?php echo esc_url($fluentBookingFile); ?>?version=<?php echo esc_attr(FLUENT_BOOKING_ASSETS_VERSION); ?>" defer="defer"></script>
    <?php endforeach; ?>

    <?php do_action('fluent_booking/main_landing_footer'); ?>
</body>
</html>

```
