WordPress.org

Ready to get started?Download WordPress

Forums

post_category not being updated (6 posts)

  1. charle97
    Member
    Posted 10 years ago #

    the post_category field in the wp_posts table is not being updated at entry creation or entry edit. post_category for all new entries stays at 0.

  2. davidchait
    Member
    Posted 10 years ago #

    that, I believe, is correct behavior. that field is deprecated, since the addition of the post2cat table for multi-category tagging was added.
    -d

  3. charle97
    Member
    Posted 10 years ago #

    :( what do i have to change to make <?php the_category_ID(display); ?> work?

  4. davidchait
    Member
    Posted 10 years ago #

    Describe the result you are trying to get, as detailed as possible, and we can jump in with what code to use to achieve it...
    -d

  5. charle97
    Member
    Posted 10 years ago #

    i figured it out through trial and error. damn i hate sql.
    i wanted to pull the category ids of posts while going through the loop. if anyone wants the code, i'll post it.

  6. 9114619
    Member
    Posted 7 years ago #

    Yeah... in two years when you'll notice this message, I need it NOW! ;_;

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.