PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / 1.5.24
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution v1.5.24
2.4.0 2.3.0 2.2.5 2.2.0 2.1.2 2.1.1 trunk 1.10.0 1.10.01 1.10.02 1.5.0 1.5.01 1.5.02 1.5.1 1.5.10 1.5.20 1.5.21 1.5.22 1.5.23 1.5.24 1.5.25 1.6.0 1.7.0 1.7.1 1.7.2 All 33 releases
fluent-booking / app / Views / landing / author_landing.php

author_landing.php in Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution 1.5.24, at app/Views/landing/author_landing.php

91 lines 3.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php defined( 'ABSPATH' ) || exit; ?>
2
3 <!DOCTYPE html>
4 <html <?php language_attributes(); ?>>
5 <head>
6 <title><?php echo esc_attr($title); ?></title>
7 <meta charset='utf-8'>
8
9 <meta content='width=device-width, initial-scale=1' name='viewport'>
10 <meta content='yes' name='apple-mobile-web-app-capable'>
11 <meta name="description" content="<?php echo esc_attr($description); ?>">
12 <meta name="robots" content="noindex"/>
13
14 <?php if (!empty($author['avatar'])): ?>
15 <link rel="icon" type="image/x-icon" href="<?php echo esc_url($author['avatar']); ?>">
16 <?php endif; ?>
17
18 <meta property="og:title" content="<?php echo esc_attr($title); ?>"/>
19 <meta property="og:type" content="website">
20 <meta property="og:url" content="<?php echo esc_url($url); ?>"/>
21 <meta property="og:description" content="<?php echo esc_attr($description); ?>"/>
22 <meta property="og:author" content="<?php echo esc_attr($author['name']); ?>"/>
23
24 <?php if (!empty($author['featured_image'])) {
25 ?>
26 <meta property="og:image" content="<?php echo esc_url($author['featured_image']); ?>"/>
27 <?php } ?>
28
29 <?php foreach ($css_files as $css_file): ?>
30 <link rel="stylesheet"
31 href="<?php echo esc_url($css_file); ?>?version=<?php echo esc_html(FLUENT_BOOKING_ASSETS_VERSION); ?>"
32 media="screen"/>
33 <?php endforeach; ?>
34
35 <style>
36 :root {
37 --fcal_dark: #1B2533;
38 --fcal_primaryColor: #2653C7;
39 --fcal_gray: #6b7280;
40 }
41
42 .fluent_booking_wrap {
43 max-width: 752px;
44 margin: 40px auto;
45 }
46 .fluent_booking_app {
47 margin-top: 66px;
48 }
49 .fcal_author_header {
50 max-width: 600px;
51 margin: auto;
52 }
53 .fcal_slot {
54 background: #fff;
55 }
56
57 .fcal_phone_wrapper .flag {
58 background: url(<?php echo esc_url(\FluentBooking\App\App::getInstance()['url.assets'].'images/flags_responsive.png'); ?>) no-repeat;
59 background-size: 100%;
60 }
61 </style>
62
63 <?php foreach ($header_js_files as $fileKey => $file): ?>
64 <script id="<?php echo esc_attr($fileKey); ?>" src="<?php echo esc_url($file); ?>?version=<?php echo esc_attr(FLUENT_BOOKING_ASSETS_VERSION); ?>"></script>
65 <?php endforeach; ?>
66
67 <?php do_action('fluent_booking/main_landing'); ?>
68 </head>
69 <body>
70 <?php \FluentBooking\App\App::getInstance('view')->render('landing.author_html', [
71 'author' => $author,
72 'calendar' => $calendar,
73 'events' => $events
74 ]); ?>
75 </div>
76 </div>
77
78 <script>
79 <?php foreach ($js_vars as $varKey => $values): ?>
80 var <?php echo esc_attr($varKey); ?> = <?php echo wp_json_encode($values); ?>;
81 <?php endforeach; ?>
82 </script>
83
84 <?php foreach ($js_files as $fileKey => $file): ?>
85 <script id="<?php echo esc_attr($fileKey); ?>" src="<?php echo esc_url($file); ?>?version=<?php echo esc_attr(FLUENT_BOOKING_ASSETS_VERSION); ?>" defer="defer"></script>
86 <?php endforeach; ?>
87
88 <?php do_action('fluent_booking/main_landing_footer'); ?>
89 </body>
90 </html>
91