HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/shootinschool/wp-content/themes/splash-child/header.php
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<!-- Hotjar Tracking Code for http://shootinschool.com/ -->
<script>
    (function(h,o,t,j,a,r){
        h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
        h._hjSettings={hjid:2416622,hjsv:6};
        a=o.getElementsByTagName('head')[0];
        r=o.createElement('script');r.async=1;
        r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
        a.appendChild(r);
    })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>
<script data-ad-client="ca-pub-5510211122764369" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
	<meta name="format-detection" content="telephone=no">
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
	
	<?php 
wp_head(); 
?>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-19059443-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-19059443-1');
</script>
	
	<?php echo gravity_form_enqueue_scripts( 7, true ); ?>
</head>

<?php
$bg_image = '';
$page_image_bg = get_post_meta(get_the_ID(), 'page_image_bg', true);
if(!empty($page_image_bg)) {
    $page_image_bg = wp_get_attachment_image_src($page_image_bg, 'full');
    if(!empty($page_image_bg[0])) {
        $bg_image = $page_image_bg[0];
    }
}

$bodyBg = '';
if(is_layout('magazine_one')) {
    if(!empty($bg_image))
        $bodyBg = 'style="background: url(' . esc_url($bg_image) . '); background-size: cover; background-attachment: fixed;"';
}

?>

<body <?php body_class(splash_get_body_class()); ?> <?php if(!empty($bodyBg)) echo $bodyBg; ?>>
	<div id="wrapper" <?php if(!empty($bg_image) && empty($bodyBg)) echo 'style="background: url(' . esc_url($bg_image) . '); background-size: cover; background-attachment: fixed;"'; ?>>

		<?php
		if(!is_page_template('coming-soon.php')) {
			$header_type = get_theme_mod('header_type', 'header_1');

			switch ($header_type) {
                case 'header_2':
                    get_template_part('partials/header/header-second');
                    break;
                case 'header_3':
                    get_template_part('partials/header/header-third');
                    break;
                case 'header_4':
                    get_template_part('partials/header/header-four');
                    break;
                case 'header_magazine_one':
                    get_template_part('partials/header/header-magazine-one');
                    break;
                default:
                    get_template_part('partials/header/header-default');
                    break;
            }
		}
		
		?>
		
		<div id="main">