Forums

Allocating item categories by program (1 post)

  1. DanHamm
    Member
    Posted 2 years ago #

    I am converting an old blog to WordPress, and have written a PHP script to copy entries from the old database to a newly created WP database There are ~4,000 posts.

    All is fine, except that allocating posts to categories looks as though it should be done through the API rather than simply adding a category number to the parent field of the post. Is there a straightforward procedure call sequence lurking within the WordPress scripts that I can use?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags