WordPress.org

Ready to get started?Download WordPress

Forums

Category ID different on a Category page (2 posts)

  1. borbs
    Member
    Posted 6 years ago #

    Hello!

    I am creating a CATEGORY template. Everything is going fine, except when there's a post with more then ONE category. When I use $cat->cat_ID, it gives me the "highest" category ID, not the one that I am seeing.

    For example, if I am seeing the category with id "1" and I have a post on "1" and "2", it gives me the "2" id, not the "1". Seems that the category is behaving like a post.

    How can I solve that, please? =]

  2. MichaelH
    Member
    Posted 6 years ago #

    Wondering if this topic is related:
    http://wordpress.org/support/topic/149696

Topic Closed

This topic has been closed to new replies.

About this Topic