Current Path : /storage/v11800/lifespanstoresnew/public_html/wp-content/themes/suxnix/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/lifespanstoresnew/public_html/wp-content/themes/suxnix/header.php |
<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package suxnix
*/
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<?php if (is_singular() && pings_open(get_queried_object())) : ?>
<?php endif; ?>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="https://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php
$suxnix_preloader = get_theme_mod('suxnix_preloader', false);
$suxnix_backtotop = get_theme_mod('suxnix_backtotop', false);
$suxnix_preloader_logo = get_template_directory_uri() . '/assets/img/favicon.png';
$preloader_logo = get_theme_mod('preloader_logo', $suxnix_preloader_logo);
$suxnix_preloader_text = get_theme_mod('suxnix_preloader_text', __('suxnix<span>.</span>', 'suxnix'));
?>
<?php if (!empty($suxnix_preloader)) : ?>
<!-- pre-loader area start -->
<div id="preloader">
<div class="loader-inner">
<div id="loader">
<h2 id="bg-loader"><?php echo wp_kses_post($suxnix_preloader_text); ?></h2>
<h2 id="fg-loader"><?php echo wp_kses_post($suxnix_preloader_text); ?></h2>
</div>
</div>
</div>
<!-- pre-loader area end -->
<?php endif; ?>
<?php if (!empty($suxnix_backtotop)) : ?>
<!-- back to top start -->
<button class="scroll-top scroll-to-target" data-target="html">
<i class="fas fa-angle-up"></i>
</button>
<!-- back to top end -->
<?php endif; ?>
<!-- header start -->
<?php do_action('suxnix_header_style'); ?>
<!-- header end -->
<!-- main-area -->
<main class="main-area fix">
<?php do_action('suxnix_before_main_content'); ?>