Skip Navigation

[Resolved] Recovery CPT theme

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 7 months, 3 weeks ago.

Author
Posts
#2695027

Hi, I replaced the theme of a website. The previous theme had a CPT for the portfolio. With Toolset can I retrieve this CPT perhaps by creating it from scratch or by intervening from DB?
Regards

#2695044

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

All of the CPT content—the posts themselves—should still be in the database, in wp_posts.

But because the post type is not being registered by your theme anymore, WordPress can't see them.

You just need to register the post type using the same post type slug, and then all of that content should magically re-appear in the back end.

The post type slug needs to be exactly the same, the single and plural labels can be different.