• Hello, is it possible to show the header on the homepage as well? I’m testing things out and the header just seems to show on inner pages.

Viewing 1 replies (of 1 total)
  • Hello @multimastery

    To show the header on the homepage you need to create and activate child theme.

    Child theme reference:

    Child Theme

    You can also create the child theme using plugin.

    After successfully creating and activating child theme, in your functions.php file paste the below code

    function clean_corporate_check_custom_header_status( $input ) {
    
            $featured_slider_status = clean_corporate_get_option( 'featured_slider_status' );
            
            if(is_front_page() && 'disabled' == $featured_slider_status) {
    
                return true;
            } 
    
            if ( is_front_page() || is_home() ) {
                
                return false;
            
            }
    
            $flag_apply_slider = apply_filters( 'clean_corporate_filter_slider_status', false );
            if ( true === $flag_apply_slider ) {
                return false;
            }
    
            return $input;
    
        }

    This will display the header in the home page .

    Hope this will resolve your issue .

    If you have any problem further please let us know.

    Best Regards!!

Viewing 1 replies (of 1 total)
  • The topic ‘Header on Homepage?’ is closed to new replies.