Advertisement
Moslem1337

Untitled

Nov 4th, 2022
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5792378963735902"
  5. crossorigin="anonymous"></script>
  6. <meta charset="UTF-8">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <title><?php wp_title( '|', true, 'right' ); ?></title>
  9. <!-- <link rel="shortcut icon" href="<?php //bloginfo('template_directory'); ?>/favicon.ico" type="image/png"/> -->
  10. <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'>
  11. <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
  12. <?php wp_head(); ?>
  13. <script>
  14. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  15. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  16. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  17. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  18.  
  19. ga('create', 'UA-71109015-1', 'auto');
  20. ga('send', 'pageview');
  21.  
  22.  
  23. </script>
  24. </head>
  25. <body class="font1">
  26. <div id="header" style="background: <?php echo get_option('HeaderBg'); ?>">
  27. <div class="container">
  28. <div class="row">
  29. <div class="header-img cuspadding">
  30. <a href="<?php echo site_url(); ?>">
  31. <?php if(is_404()):
  32. $page = get_page_by_title( 'home' );
  33. if ( has_post_thumbnail($page->ID) ) :
  34. echo get_the_post_thumbnail($page->ID,'full', array('class' => 'img-responsive fullwidth', 'alt' => get_the_title()) );
  35. else:
  36. echo '<img src="'.get_bloginfo('template_url').'/images/dummy1.png" class="img-responsive fullwidth";/>';
  37. endif;
  38. ?>
  39. <?php else: ?>
  40. <?php
  41. if ( has_post_thumbnail() ) :
  42. the_post_thumbnail( 'full', array('class' => 'img-responsive fullwidth', 'alt' => get_the_title()) );
  43. else:
  44. echo '<img src="'.get_bloginfo('template_url').'/images/dummy1.png" class="img-responsive fullwidth";/>';
  45. endif;
  46. ?>
  47. <?php endif; ?>
  48. </a>
  49. <div class="header-text-cont">
  50. <div class="header-text center">
  51. <?php
  52. $Word = strtoupper(get_option('HeaderTitle'));
  53. $NewWord = str_replace("DAY","<strong>DAY</strong>", $Word);
  54. echo $NewWord;
  55. ?>
  56. </div> <!-- end of header-text -->
  57. </div> <!-- end of header-text-cont -->
  58. </div> <!-- end of header-img -->
  59. </div> <!-- end of row -->
  60. </div> <!-- end of container -->
  61. </div> <!-- end of header -->
  62. <div id="sub-header-cont">
  63. <div class="container">
  64. <div class="row">
  65. <div class="sub-header cusmargin center" style="background: <?php echo get_option('HeaderBg'); ?>"><?php echo get_option('HeaderDescription'); ?></div>
  66. </div> <!-- end of row -->
  67. </div> <!-- end of container -->
  68. </div> <!-- end of sub-header-cont -->
  69. <div id="trail-cont">
  70. <div class="container">
  71. <div class="row">
  72. <div class="trail cusmargin">
  73. <div class="breadcrumb pull-left">
  74. <?php the_breadcrumb(); ?>
  75. </div> <!-- end of breadcrumb -->
  76. <div class="time pull-right">
  77. <?php $pages = get_pages(array(
  78. 'meta_key' => '_wp_page_template',
  79. 'meta_value' => 'template/contactus-inquiries.php',
  80. ));
  81. if($pages):
  82. foreach($pages as $page):
  83. $contact_id = $page->ID;
  84. endforeach;
  85. else:
  86. $contact_id = 0;
  87. endif; ?>
  88. <p><a href="<?php echo get_the_permalink( $contact_id ); ?>" style="font-weight:600;">Contact Us Now</a></p>
  89. </div> <!-- end of time -->
  90. <div class="clearfix"></div>
  91. </div> <!-- end of trail -->
  92. </div> <!-- end of row -->
  93. </div> <!-- end of container -->
  94. </div> <!-- end of trail-cont -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement