is_home doesn't work with predefined page


Hi Emmanuel,

This WordPress related, is_home() (see documentation here) should be used to check if your are on the "main blog page" home while is_front_page() (see documentation here) should be used to check if you are on the front page.

Hope that helps πŸ™‚

Happy coding,


Hi Thierry,

Hey, thank you ! Thanks for share your time and help, I learn something πŸ™‚

Best regards, Emmanuel


Fantastic! We are always happy to help people who are willing to learn πŸ™‚

Write a reply

Login or register to write a reply, it's free!