Conditional tags on 2.3 when using a static home page
-
I run into a weird bug on 2.3. I’m using a static home page (“Home”), and then another page (“Archive”) to dislpay the blog. I have no way to target only the “Archive” page with conditional comments. is_home() will return true for both the front page and the posts page (“Home” and “Archive” in my case). is_page(‘Archive’) doesn’t work. I also tried the is_frontpage() plugin but it doesn’t return true for any page.
Am I doing something wrong or is this a problem that appeared after “fixing” the behavior of is_home from previous versions? Is anyone else having this problem?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Conditional tags on 2.3 when using a static home page’ is closed to new replies.