Answers for "wp php show template part if page is front page"

PHP
1

is frontpage wordpress

if ( is_front_page() ) :
    get_header( 'front' );
else :
    get_header();
endif;
Posted by: Guest on May-17-2020

Browse Popular Code Answers by Language