is_home() is not working
-
I’m using is_home() to determine if a user is on the homepage. If so, than
class="active"
is written in the navigation. The homepage uses a static front page.All the navigation options are working, except for the is_home() function. For the other navigation parts i’m using is_category() and is_page().
I found someone with the same problem.
http://wordpress.org/support/topic/104543?replies=3It is stated that is_home() doesn’t work when you’re using a static front page. Should I use a post for the front page so that is_home() works?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘is_home() is not working’ is closed to new replies.