The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Convert Post Types
[resolved] Lost Content (3 posts)

  1. momsbistro
    Posted 3 years ago #

    So, I can't read apparently, and I didn't back up my website properly (I used an external backup that doesn't work with WordPress...:|), so I lost all of the content of my posts. Is there anyway at all that I can get all of this information back?

    Any help would be greatly appreciated. I lost EVERYTHING :(



  2. Stephanie Leary
    Plugin Author

    Posted 3 years ago #

    Oh dear. I'm so sorry to hear that! Do you have access to your database through PHPMyAdmin or some other tool? If so, check your wp_posts table to see if the posts are still there, perhaps with something other than 'post' in the post_type field. If you've just accidentally changed the post type to one that isn't registered anymore or something, they would no longer show up in your admin screens, but they'd still be in the database.

    If they are, then it would be fairly easy to fix with a query. For example, here's how you would look for all posts and change them into pages:

    UPDATE wp_posts SET post_type = 'page' WHERE post_type = 'post'

    Just replace 'post' and 'page' in that snippet with the post types in your site, then paste that into the SQL tab in PHPMyAdmin (or whatever).

  3. momsbistro
    Posted 3 years ago #

    Well, I see the post name in the list, and when I view it, I see that the page is still there, I have just lost all of the text of the posts. Is this something different?

    All of the posts I wanted switched to 'recipes' are there, they just have absolutely no text.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Convert Post Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.