Answer by Nicolas Guérinet for When to use is_home() vs is_front_page()?
You visit a frontpage that is a blog homepage => is_front_page() = TRUE&& is_home() = TRUEYou visit a front page that is a static page => is_front_page() = TRUE&& is_home() =...
View ArticleAnswer by Dylan Pierce for When to use is_home() vs is_front_page()?
I've discovered that is_home() and is_front_page() don't deliver what's expected for multisites. My workaround using built in PHP goodies:if($_SERVER['REQUEST_URI'] == '/') { // you must be on the home...
View ArticleAnswer by Momekh for When to use is_home() vs is_front_page()?
You'd want to use is_home() when you want to check if the user is viewing your list of blog posts (usually set to display 10 posts per page). If you have a home.php file in your theme, that will be...
View ArticleAnswer by Scott for When to use is_home() vs is_front_page()?
is_front_page() returns true if the user is on the page or page of posts that is set to the front page on Settings->Reading->Your homepage displaysSo if you set about us as the front page then...
View ArticleWhen to use is_home() vs is_front_page()?
I've found that is_front_page appears to return true when I'm viewing the home page and have a single sticky post assigned there.It also returns true when I've assigned a page as the static front page...
View Article