Viewing 3 replies - 1 through 3 (of 3 total)
  • Pardon? Can you elaborate?

    Thread Starter DrLightman

    (@drlightman)

    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.

    Thread Starter 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 ‘category_children – how to recalculate?’ is closed to new replies.