• Hi,

    I have a blog with a few thousands posts, and I’d like to add 3,000 of them to a new category. I have a list of slugs corresponding to those 3,000 posts.

    Does anyone know of a way of achieving what I want to do? Or maybe a plugin to accept my list of slugs one per line (or separated by commas) to add all of them to one given category.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • One way would be to write PHP code to process the list. Another way would be to turn the list into SQL to apply to the database’s wp_term_relationships table in a tool like phpMyAdmin. I haven’t actually tried either method, so I don’t have more details.

    Thread Starter definitelynot

    (@definitelynot)

    Thank you Rod, I will try the PHP approach first.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add list of posts/slugs to a new category’ is closed to new replies.