Support » Fixing WordPress » SQL to change a post type of a certain category into a custom post type

  • I have a database with posts divided into several categories. Now I would like to break out two of the categories into custom post types instead. I have created the custom post types, but I don’t know how to write the SQL statement to find the posts within a certain category and then update the post type.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘SQL to change a post type of a certain category into a custom post type’ is closed to new replies.