WordPress.org

Ready to get started?Download WordPress

Forums

is_home not working after loop (on home.php) (1 post)

  1. Aen
    Member
    Posted 7 years ago #

    is_home is working fine if I put it before a loop. I'm also using it in my footer but it is not working there. In the middle I have query_post displaying some posts from various categories.

    Funny thing is my last loop displaying posts from category id 4 is causing my homepage to become a category page. I tested, is_category(4) returns trues.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.