is_home
is the check you need to use if the page is set to be the blog page in settings > reading
<?php
if(is_home()) {
// do something
} else {
// do something
}
?>
is_home
is the check you need to use if the page is set to be the blog page in settings > reading
<?php
if(is_home()) {
// do something
} else {
// do something
}
?>