# fluent-community/1.0.90/app/Views/portal_page.php

FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS &amp; Online Courses, version 1.0.90. 64 lines.

- Page: https://pluginprobe.com/plugins/fluent-community/1.0.90/code/app/Views/portal_page.php
- Raw: https://pluginprobe.com/plugins/fluent-community/1.0.90/raw/app/Views/portal_page.php
- Modified: 2024-11-07T12:38:44+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-community/1.0.90/code/app/Views/portal_page.php#L10-L20`.

```php
<?php
if (!defined('ABSPATH')) exit; // Exit if accessed directly
/**
 * @var string $title
 * @var string $description
 * @var string $url
 * @var string $featured_image
 * @var bool $isHeadless
 */
?>
<!DOCTYPE html>
<html lang='en'>
<head>
    <title><?php echo esc_attr($title); ?></title>
    <meta charset='utf-8'>
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=2.0,user-scalable=yes,viewport-fit=cover"/>
    <meta name="mobile-web-app-capable" content="yes">
    <?php if (!$isHeadless) : wp_head(); else: ?>
        <meta name="description" content="<?php echo esc_attr($description); ?>">
        <link rel="icon" type="image/x-icon" href="<?php echo esc_url(get_site_icon_url()); ?>"/>
        <meta property="og:type" content="website">
        <meta property="og:url" content="<?php echo esc_url($url); ?>">
        <meta property="og:site_name" content="<?php bloginfo('name'); ?>">
        <meta property="og:description" content="<?php echo esc_attr($description); ?>">
        <?php if ($featured_image): ?>
            <meta property="og:image" content="<?php echo esc_url($featured_image); ?>"/>
        <?php endif; ?>
    <?php endif; ?>

    <?php if (\FluentCommunity\App\Services\Helper::isRtl()): ?>
        <style>
            body {
                direction: rtl;
            }
        </style>
    <?php endif; ?>

    <?php do_action('fluent_community/portal_head'); ?>

    <?php if(!empty($a11y_enhancement_style)): ?>
    <style>
        html body {
            --fcom-text-off: #606266;
            --fcom-text-link: #0600ed;
        }
        html.dark body {
            --fcom-text-off: #bec1c6;
            --fcom-text-link: #9db5ff;
        }
    </style>
    <?php endif; ?>

</head>
<body>
<div class="fluent_com">
    <?php do_action('fluent_community/portal_html'); ?>
</div>

<?php do_action('fluent_community/before_js_loaded'); ?>
<?php do_action('fluent_community/portal_footer'); ?>
<?php !$isHeadless && wp_footer(); ?>
</body>
</html>

```
