Answers for "wp if 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
0

if is front end wp

if(!is_admin()) {
//logic
}
Posted by: Guest on December-24-2020

Browse Popular Code Answers by Language