If you’re modifying your sidebar in the wordpress sidebar and can’t get your is_front_page()
or is_home()
working… try adding a reset query just before. Worked for me.
IE I was adding a advert that would only show on the homepage of the wordpress blog, rather than throughout the entire website this should work fine. [Use the code at your own risk etc etc]