I have a site that has been functioning properly in WP 2.3.x through 2.5.x. Now it’s on 2.6.2 and I’ve noticed that the is_front_page() function appears to be broken when using a custom query. I can test is_front_page() one line before the custom query and it tells me I am on the front page. One line after I run the custom query (display the Post Titles for the 5 most recent posts) is_front_page() tells me that I am no longer on the front page.
I’m reasonably certain this is a bug, but I don’t want to open a ticket until I’ve had a chance for someone who has found a way around this to give me their solution.
- The topic ‘Static Home page with custom loop, is_front_page() breaks’ is closed to new replies.