There is a difference between the WordPress functions
is_home(). The state of these functions is determined by how you (or your client) configures the site in the
Settings > Reading section (in the back-end). In this lab, you will see how different settings can cause a different set of states.
Unlocked & Open Preview
We’ve opened this lab up for everyone. Whether you’re a member or not, you can take this lab (all of it).
Who needs copy/paste? Right. Writing code from scratch is fun!
Total Lab Runtime: 00:07:21
Check out the interactive guide that lets you click on the
Settings > Reading options. Then it tells you what conditionals are set as well as which template file WordPress is going to call for that configuration and specific web page. It’s your quick response to avoid confusion and be in the know.