• Resolved Anonymous User 14447488

    (@anonymized-14447488)


    Hi, I did on accident delete a custom post type and am not sure what I should do.
    I see that the data still exists due to it still being visible on the home page but the archive and the single posts are not there anymore. Is there any chance I can recover anything or should I just redo the whole thing?

    Might be good to know that I am currently not able to access the database and would like to solve it without if possible.

    • This topic was modified 5 years, 8 months ago by Anonymous User 14447488.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Outside of somehow restoring our couple of wp_option tables, the best I can suggest would be just do a quick recreation of the post type in question within CPTUI.

    Biggest thing will be making sure you use the same matching slug that was used previously. Other big-ish settings would be things like hierarchical which allows for setting parent/child assocations, having an archive or not, and other similar things.

    Thread Starter Anonymous User 14447488

    (@anonymized-14447488)

    I will try recreating the post type and see how that goes, thanks! Will I keep the previous data that way?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Yes, we don’t do any content deletion. I’ve had times where I re-create a previous test post type and the test posts show up again for me.

    Thread Starter Anonymous User 14447488

    (@anonymized-14447488)

    It worked perfectly! Thanks a lot.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Welcome

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Recovering CPT’ is closed to new replies.