WordPress: Is your is_front_page() not working in your side bar?

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]

Leave a Reply

Your email address will not be published. Required fields are marked *