I am using WP as a CMS with a custom theme that has home.php and a WP Page entitled “Blog” with a custom template. WP is in a “wordpress” dir and the site URL is located at http://mydomain/.
When I browse to either the site URL or the Blog Page (ie http://mydomain/?page_id=1) is_home returns true. I would expect is_home() to only return true when at the site URL. Is this the correct expected behavior or is this a bug in is_home()?
- The topic ‘is_home bug?’ is closed to new replies.