WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] category_children – how to recalculate?

[Resolved] category_children – how to recalculate?

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

    @esmi

    Forum Moderator

    Pardon? Can you elaborate?

    Last time I imported wp_terms_* tables from another installation into a fresh installation.

    All went fine, tags were imported, categories also were imported and appeared correctly in the admin Post page. But in the Categories management page only parent categories were showed. I discovered an option named “category_children” into wp_options that is used by that page to display child categories, so I had to copy that option also from the old database.

    I wonder if it could be recalculated automatically since the wp_terms_* strcture should be enough to build the categories tree.

    DrLightman

    @drlightman

    I had this problem again in WP 3.0.1 after importing several XMLs from another blog into my blog using the official WordPress Importer 0.2 plugin, merging tags and categories. The effective number of pages of categories did not reflect the real number of categories present in the database, because even if the total pages were 9 after the 6th they were empty.

    To fix this I had to delete the option named “category_children”, so that it was autoamtically recalculated by WP again when I went back to the Categories menĂ¹ in the dashboard.

    I’ll leave it here as a memo for me or for anyone who could find it useful.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] category_children – how to recalculate?’ is closed to new replies.
Skip to toolbar