Return to Snippet

Revision: 62535
at February 28, 2013 20:57 by ihatetomatoes

Initial Code
SQL query for renaming the posts:

UPDATE  `wp_posts` SET  `post_type` =  '<new post type name>' WHERE  `post_type` = '<old post type name>';
SQL query for renaming taxonomy:

UPDATE  `wp_term_taxonomy` SET  `taxonomy` =  '<new taxonomy name>' WHERE  `taxonomy` = '<old taxonomy name>';

Initial URL

Initial Description
Use below SQL code and replace references within the theme files.

Initial Title
WP - Rename custom post types and taxonomies

Initial Tags

Initial Language