1. Home
  2. Wordpress
  3. Is front page

Check if the given page is set to be front page.

#wordpress#php#template
if( is_front_page ){
    echo "Homepage";
}
copy
Full Wordpress cheatsheet
NordVPN NordVPN