Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End is_front_page returning false Reply To: is_front_page returning false

#196961
Alen
Participant

is_front_page() will return true if:

  • the main blog page is being displayed
  • and the Settings->Reading->Front Page display is set to “Your latest posts”

or

  • when Settings->Reading->Front Page is set to “A static page” and the “Front Page” value is the current Page being displayed.

You can find more information including the description here: http://codex.wordpress.org/Function_Reference/is_front_page

Hope that helps,
Alen