• iamglenn

    (@iamglenn)


    Looking to grab my category ID’s can’t seem to find them in the admin panel, help please.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Keilya

    (@fantasycrusader)

    Urm. Manage >> Categories.

    Hover over which ever category and you’ll see the ID in the URL.

    The only reason I can’t fanthom with 2.5 categories is that the ID took a big jump. I created a new category and it gave it the number 90. =|

    iamglenn,
    You could also install this plugin which puts the ID’s back in the admin display:
    http://wordpress.org/extend/plugins/reveal-ids-for-wp-admin-25/

    fantasycrusader,
    The jump in the ID’s for categories is due to the newish taxonomy system. Both Categories and Tags are stored in the same table in the database (wp_terms). Lets say, you add a new category who’s ID ends up being “8”. Then you ad a new post with 10 new tags for it. Then you add another new category. The ID for the second category will be “19” instead of the expected “9”.

    unions8

    (@unions8)

    And is it possible to change the Category IDs? Thanx,
    Stepaan

    unions8,
    Why would you want to change a category’s ID#? This can cause ripple effects throughout your blog that will be hard to debug. WordPress offers no tool to change the ID of a category, post or other database entry. It is (for all intensive purposes) unnecessary.

    mfields, it’d actually be useful to change the category ID number, because of the way multiple categories work with posts.

    From my understanding, if a post is assigned more than one category, WordPress will assign the category with the lowest ID number as the primary category. Currently, there is no way to assign a primary category to a post, which is quite frustration.

    @chanpory: Yes, this would indeed be very very helpful!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘2.5 Category ID’s?’ is closed to new replies.