• Hello,

    I am trying to load a different header on my homepage, from the other pages, with the theme Customizr (v.3.3.19).

    I’ve created a child theme and a new header: header-home.php

    I know I have then to change this :

    <?php get_header(); ?>

    By:

    <?php
    if ( is_home() ) :
    	get_header( 'home' );
    else :
    	get_header();
    endif;
    ?>

    However, the template doesn’t contain this line. I’ve only found the following hook in the file “inc/parts/class-header-header_main.php”

    add_action ( '__before_main_wrapper'	, 'get_header');

    Any lead would be very appreciated.

    Thanks,

    Chris

  • The topic ‘[Theme: Customizr] Different header regarding page’ is closed to new replies.