WordPress.org

Support

Support » How-To and Troubleshooting » post_category not being updated

post_category not being updated

  • 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • that, I believe, is correct behavior. that field is deprecated, since the addition of the post2cat table for multi-category tagging was added.
    -d

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

    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

    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.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘post_category not being updated’ is closed to new replies.
Skip to toolbar