Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5792378963735902"
- crossorigin="anonymous"></script>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title><?php wp_title( '|', true, 'right' ); ?></title>
- <!-- <link rel="shortcut icon" href="<?php //bloginfo('template_directory'); ?>/favicon.ico" type="image/png"/> -->
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,800,300,600,700' rel='stylesheet' type='text/css'>
- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
- <?php wp_head(); ?>
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-71109015-1', 'auto');
- ga('send', 'pageview');
- </script>
- </head>
- <body class="font1">
- <div id="header" style="background: <?php echo get_option('HeaderBg'); ?>">
- <div class="container">
- <div class="row">
- <div class="header-img cuspadding">
- <a href="<?php echo site_url(); ?>">
- <?php if(is_404()):
- $page = get_page_by_title( 'home' );
- if ( has_post_thumbnail($page->ID) ) :
- echo get_the_post_thumbnail($page->ID,'full', array('class' => 'img-responsive fullwidth', 'alt' => get_the_title()) );
- else:
- echo '<img src="'.get_bloginfo('template_url').'/images/dummy1.png" class="img-responsive fullwidth";/>';
- endif;
- ?>
- <?php else: ?>
- <?php
- if ( has_post_thumbnail() ) :
- the_post_thumbnail( 'full', array('class' => 'img-responsive fullwidth', 'alt' => get_the_title()) );
- else:
- echo '<img src="'.get_bloginfo('template_url').'/images/dummy1.png" class="img-responsive fullwidth";/>';
- endif;
- ?>
- <?php endif; ?>
- </a>
- <div class="header-text-cont">
- <div class="header-text center">
- <?php
- $Word = strtoupper(get_option('HeaderTitle'));
- $NewWord = str_replace("DAY","<strong>DAY</strong>", $Word);
- echo $NewWord;
- ?>
- </div> <!-- end of header-text -->
- </div> <!-- end of header-text-cont -->
- </div> <!-- end of header-img -->
- </div> <!-- end of row -->
- </div> <!-- end of container -->
- </div> <!-- end of header -->
- <div id="sub-header-cont">
- <div class="container">
- <div class="row">
- <div class="sub-header cusmargin center" style="background: <?php echo get_option('HeaderBg'); ?>"><?php echo get_option('HeaderDescription'); ?></div>
- </div> <!-- end of row -->
- </div> <!-- end of container -->
- </div> <!-- end of sub-header-cont -->
- <div id="trail-cont">
- <div class="container">
- <div class="row">
- <div class="trail cusmargin">
- <div class="breadcrumb pull-left">
- <?php the_breadcrumb(); ?>
- </div> <!-- end of breadcrumb -->
- <div class="time pull-right">
- <?php $pages = get_pages(array(
- 'meta_key' => '_wp_page_template',
- 'meta_value' => 'template/contactus-inquiries.php',
- ));
- if($pages):
- foreach($pages as $page):
- $contact_id = $page->ID;
- endforeach;
- else:
- $contact_id = 0;
- endif; ?>
- <p><a href="<?php echo get_the_permalink( $contact_id ); ?>" style="font-weight:600;">Contact Us Now</a></p>
- </div> <!-- end of time -->
- <div class="clearfix"></div>
- </div> <!-- end of trail -->
- </div> <!-- end of row -->
- </div> <!-- end of container -->
- </div> <!-- end of trail-cont -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement