This is the code for my header.php file included for my theme.
I do not see any logical place to put this code.. can you please advice?
`<?php
/**
* The Header for our theme
* @package lavish
* @since 1.0.0
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv=”X-UA-Compatible” content=”IE=edge” charset=”<?php bloginfo( ‘charset’ ); ?>”>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<title><?php wp_title( ‘|’, true, ‘right’ ); ?></title>
<link rel=”profile” href=”https://gmpg.org/xfn/11″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
<link rel=”shortcut icon” href=”<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico” />
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php
/*
=================================================
Move to Top Display
=================================================
*/
do_action (‘lr_move_to_top’, ‘lavish’);
/*
=================================================
Fr Wrapper Choose
=================================================
*/
do_action(‘lr_wrapper_choose’,’lavish’);
/*
=======================================================
Fr Header Display with logo and Menu and Search Icons
=======================================================
*/
do_action(‘lr_header’,’lavish’);
$header_style = ”;
if (get_theme_mod(‘header_style’) == ‘two’) {
$header_style = ‘two’;
}
?>
<aside id=”la-banner” class=”lr_responsive_banner <?php echo $header_style?>” style=”background-color: <?php echo get_theme_mod( ‘header_bg’, ‘#EAEAEA’ ); ?>; <?php if ( get_header_image() ) : ?>background-image: url(<?php header_image(); ?>);<?php endif; ?><?php if( get_post_meta($post->ID, ‘header_background’, true) ) { ?> background-image: url(<?php echo esc_url (the_field(‘header_background’)); ?>); <?php } ?> color: <?php echo get_theme_mod( ‘banner_text_colour’, ‘#ffffff’ ); ?>;”>
<?php get_sidebar( ‘banner’ ); ?>
</aside>
<?php do_action(‘style_breadcrumb’); ?>
<?php get_sidebar( ‘cta’ ); ?>