| Server IP : 192.241.186.36 / Your IP : 216.73.216.164 Web Server : Apache/2.4.29 (Ubuntu) System : Linux webserver7 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 x86_64 User : root ( 0) PHP Version : 7.4.32 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/carsdaddy/wp-content/themes/cardealer/ |
Upload File : |
<?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 CarDealer
*/
?>
<!doctype html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="author" content="potenzaglobalsolutions.com" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php do_action( 'cardealer_head_before' ); ?>
<?php wp_head(); ?>
<?php do_action( 'cardealer_head_before_close' ); ?>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-L63FWNLDPC"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-L63FWNLDPC');
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-258893802-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-258893802-1');
</script>
</head>
<body <?php body_class(); ?> itemscope itemtype="http://schema.org/WebPage">
<?php
if ( function_exists( 'wp_body_open' ) ) {
wp_body_open();
}
global $hide_header_banner, $car_dealer_options, $wp;
$cardealer_current_post_id = cardealer_get_current_post_id();
$hide_header_banner = get_post_meta( $cardealer_current_post_id, 'hide_header_banner', true );
if ( ! empty( $hide_header_banner ) && ( is_search() ) ) {
$hide_header_banner = false;
}
// check inventory page set as front page or not.
$inventory_pg_id = cardealer_get_current_post_id();
$front_page = get_option( 'page_on_front' );
global $is_inv_front_page;
$is_inv_front_page = false;
if ( ! empty( $front_page ) && (int) $front_page === (int) $inventory_pg_id ) {
$is_inv_front_page = true;
}
do_action( 'cardealer_page_before' );
$hide_header_banner_class = ( $hide_header_banner && ! is_front_page() && ! $is_inv_front_page ) ? 'header-hidden' : '';
?>
<!-- Main Body Wrapper Element -->
<div id="page" class="hfeed site page-wrapper <?php echo esc_attr( $hide_header_banner_class ); ?>">
<?php cardealer_display_loader(); ?>
<?php if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'header' ) ) : ?>
<!-- header -->
<?php get_template_part( 'template-parts/header/site_header' ); ?>
<?php endif ?>
<div class="wrapper" id="main">
<?php get_template_part( 'template-parts/content', 'intro' ); ?>