/ Published in: PHP

Use below SQL code and replace references within the theme files.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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>';
URL: http://wordpress.stackexchange.com/questions/1037/renaming-custom-post-types-and-taxonomies
Comments
