Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sindre7

    (@sindre7)

    Can I send you the screenshot to lizarweb@gmail.com?

    Thanks

    Thread Starter sindre7

    (@sindre7)

    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=”http://gmpg.org/xfn/11″&gt;
    <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’ ); ?>

    Thread Starter sindre7

    (@sindre7)

    Hey weblizar, thanks for your quick responds.

    Are you talking about the header.php file in my theme folder?
    If so, where do I put the code, and do I need to delete any existing code?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)