Custom post type’s category does not reflect new post type

[ad_1]

I have manually changed my categories’ taxonomy to custom post type on DB.

On wp_term_taxonomy, for each term_id, the taxonomy was ‘category’, and I changed the text value to ‘cpt_category’. I also have changed the post_type value on wp_posts from ‘post’ to ‘cpt’. Up to this point, it worked great that I was able to see all my posts in the newly created CPT w/ categories that were used to be assigned to ordinary posts.

Though nothing seems wrong on the admin side, I now can’t assign new design to CPT’s archive pages. Despite my customization from Theme’s customization options, all CPT categories’ archive pages now have original posts’ template. It seems like my manual changes on wp_term_taxonomy does not fully convert categories’ address, so to speak.

Is there any where else that I have to change?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer