89 lines
3.2 KiB
PHP
89 lines
3.2 KiB
PHP
<?php
|
|
/**
|
|
* The Header for our theme.
|
|
*
|
|
* Displays all of the <head> section and everything up till <div id="content">
|
|
*
|
|
* @package thbusiness
|
|
*/
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html <?php language_attributes(); ?>>
|
|
|
|
<head>
|
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
|
<meta http-equiv="Pragma" content="no-cache" />
|
|
<meta http-equiv="Expires" content="0" />
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title><?php wp_title( '|', true, 'right' ); ?></title>
|
|
<link rel="profile" href="http://gmpg.org/xfn/11">
|
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
|
|
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css">
|
|
<meta name="format-detection" content="telephone=yes">
|
|
<?php wp_head(); ?>
|
|
<?php remove_filter ('the_content', 'wpautop'); ?>
|
|
|
|
</head>
|
|
|
|
<body <?php body_class(); ?>>
|
|
<div id="page" class="hfeed site">
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<header id="masthead" class="site-header" role="banner">
|
|
<div class="top-bar">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-8 col-xs-12 col-sm-12">
|
|
<p class="phonetext"> Special Offer for Atlas Services XChange Members</p>
|
|
</div>
|
|
<div class="col-md-4 col-xs-12 col-sm-12 phonenumber">
|
|
<div class="existing-customer">Existing Customer<br />
|
|
<a href="http://medicalalertsupport.com/">Click Here</a></div>
|
|
<p><a href="tel: <?php echo do_shortcode('[op /]');?>
|
|
"><?php echo do_shortcode('[op /]');?></a></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="phonetext-mobile">
|
|
<div class="mobile-icon-right">
|
|
<?php echo do_shortcode('[op]')?>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-4 col-xs-12 col-lg-4">
|
|
<div class="site-branding">
|
|
<?php if ( of_get_option( 'thbusiness_show_site_logo_text', 'text_only' ) == 'logo_only' && of_get_option( 'thbusiness_site_logo_image', '' ) != '' ) { ?>
|
|
<div class="site-logo-image"> <img src="<?php echo of_get_option( 'thbusiness_site_logo_image', '' ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"> </div>
|
|
<?php } ?>
|
|
</div>
|
|
</div><!-- .col-md-4 .col-xs-12 .col-lg-4 -->
|
|
<div class="col-md-12">
|
|
<div class="moblogo"><a href="/"><img src="/wp-content/uploads/2019/10/ma-logo@2x.png"></a></div>
|
|
</div>
|
|
</div><!-- .row -->
|
|
</div><!-- container -->
|
|
</header><!-- #masthead -->
|
|
|
|
<?php if ( get_header_image() ) : ?>
|
|
<figure class="thbusiness-header-image"> <img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt=""> </figure>
|
|
<?php endif; // End header image check. ?>
|
|
<?php
|
|
if ( of_get_option( 'thbusiness_activate_slider', '0' ) == '1' ) {
|
|
if ( is_front_page() ) {
|
|
thbusiness_homepage_slider();
|
|
}
|
|
}
|
|
?>
|
|
</div>
|
|
<!-- .row -->
|
|
</div>
|
|
<!-- .container-fluid -->
|
|
|
|
<div id="content" class="site-content">
|
|
<div class="container-fluid" style="margin-top: 60px;">
|
|
<div class="row">
|