PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 1.0.91
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v1.0.91
2.11.0 2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 All 78 releases
fluent-community / app / Views / portal_page.php

portal_page.php in FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses 1.0.91, at app/Views/portal_page.php

64 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) exit; // Exit if accessed directly
3 /**
4 * @var string $title
5 * @var string $description
6 * @var string $url
7 * @var string $featured_image
8 * @var bool $isHeadless
9 */
10 ?>
11 <!DOCTYPE html>
12 <html lang='en'>
13 <head>
14 <title><?php echo esc_attr($title); ?></title>
15 <meta charset='utf-8'>
16 <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=2.0,user-scalable=yes,viewport-fit=cover"/>
17 <meta name="mobile-web-app-capable" content="yes">
18 <?php if (!$isHeadless) : wp_head(); else: ?>
19 <meta name="description" content="<?php echo esc_attr($description); ?>">
20 <link rel="icon" type="image/x-icon" href="<?php echo esc_url(get_site_icon_url()); ?>"/>
21 <meta property="og:type" content="website">
22 <meta property="og:url" content="<?php echo esc_url($url); ?>">
23 <meta property="og:site_name" content="<?php bloginfo('name'); ?>">
24 <meta property="og:description" content="<?php echo esc_attr($description); ?>">
25 <?php if ($featured_image): ?>
26 <meta property="og:image" content="<?php echo esc_url($featured_image); ?>"/>
27 <?php endif; ?>
28 <?php endif; ?>
29
30 <?php if (\FluentCommunity\App\Services\Helper::isRtl()): ?>
31 <style>
32 body {
33 direction: rtl;
34 }
35 </style>
36 <?php endif; ?>
37
38 <?php do_action('fluent_community/portal_head'); ?>
39
40 <?php if(!empty($a11y_enhancement_style)): ?>
41 <style>
42 html body {
43 --fcom-text-off: #606266;
44 --fcom-text-link: #0600ed;
45 }
46 html.dark body {
47 --fcom-text-off: #bec1c6;
48 --fcom-text-link: #9db5ff;
49 }
50 </style>
51 <?php endif; ?>
52
53 </head>
54 <body>
55 <div class="fluent_com">
56 <?php do_action('fluent_community/portal_html'); ?>
57 </div>
58
59 <?php do_action('fluent_community/before_js_loaded'); ?>
60 <?php do_action('fluent_community/portal_footer'); ?>
61 <?php !$isHeadless && wp_footer(); ?>
62 </body>
63 </html>
64