/
home
/
infinitibizsol
/
ridecashout.com
/
wp-content
/
themes
/
cardealer
/
File Upload :
llllll
Current File: /home/infinitibizsol/ridecashout.com/wp-content/themes/cardealer/header.php
<?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> <!--[if IE 7]> <html class="ie ie7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 8]> <html class="ie ie8" <?php language_attributes(); ?>> <![endif]--> <!--[if !(IE 7) & !(IE 8)]><!--> <html <?php language_attributes(); ?>> <!--<![endif]--> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <link rel="profile" href="https://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' ); ?> </head> <body <?php body_class(); ?> itemscope itemtype="http://schema.org/WebPage" <?php cardealer_body_styles(); ?>> <?php if ( function_exists( 'wp_body_open' ) ) { wp_body_open(); } global $hide_header_banner, $car_dealer_options, $wp; $hide_header_banner = cardealer_hide_header_banner(); // 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' ) ) : ?> <?php get_template_part( 'template-parts/header/site_header' ); ?><!-- header --> <?php endif ?> <div class="wrapper" id="main"> <?php get_template_part( 'template-parts/content', 'intro' ); ?>
Copyright ©2k19 -
Hexid
|
Tex7ure