• Resolved trevolutionary

    (@jkdsouljah)


    I have an issue whereby a CPT I previously created was removed. I have tried to re-add the CPT through the plugin, but the posts do not show up. As far as I can tell, this means that I haven’t replicated the old settings correctly (I don’t remember them!). I’ve tried looking through the database itself, but truth be told, I don’t know what I’m looking for in there.

    Any advice on how to retrieve these old posts is much appreciated.

    https://wordpress.org/plugins/custom-post-type-ui/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    If the two settings from the options table are gone then the setting for our plugin will be gone as well. I’d comb through the wp_options table and double check for cpt_custom_post_types and cpt_custom_tax_types option keys.

    However, the posts in the post type should still be present in the wp_posts table including any metadata attached to those posts in the wp_postmeta table. I believe the same with the taxonomies if you made any. If you want to regain “access” to both, I’d just recreate those with the matching slug. The rest should fall back into place, although perhaps slightly different depending on the previous settings. Nothing that can’t be fine-tuned again later.

Viewing 1 replies (of 1 total)
  • The topic ‘Retreiving "old" CPTs’ is closed to new replies.