is_home bug?
-
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 https://mydomain/.
When I browse to either the site URL or the Blog Page (ie https://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()?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘is_home bug?’ is closed to new replies.