• I would like to understand why on wordpress, when I change the name of a category, the ID is changed too. Why this happens?

    Because of this I can’t expect to use category ID on template or plugin because if the client change their names, all my work is lost.

    Is their something I can do?

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    The id represents the category’s record number in your database. Once a category is created, its record (id) remains fixed – irrespective of how many times its title changes.

    Try using the category name or slug instead of its id.

    Thread Starter Edir Pedro

    (@edir)

    The slug or title are the same, both change when you edit the category. The only information would be the ID but even this wordpress has changed, so, there is no static information on taxonomy system, everything can change when you simply edit.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Categories and fixed IDs’ is closed to new replies.