There is no is_home_page()
function in Core. You have either is_home()
or is_front_page()
and you have to be careful about the two. They can be squirrelly.
I don’t know which of the two functions you need but sorting that out should solve the problem, or use (is_home() || is_front_page())
perhaps.