php if is homepage code example
Example: is frontpage wordpress
if ( is_front_page() ) :
get_header( 'front' );
else :
get_header();
endif;
if ( is_front_page() ) :
get_header( 'front' );
else :
get_header();
endif;