I want to know if there is a way to restore contents of permanently deleted users from my WordPress page.
None that don't involve a backup. If you have a backup, you'll have to do some work to restore only a certain user's data without resetting everything to that point. I'd say import the backup into an empty database, then copy data over either with SQL (
INSERT INTO wp_posts SELECT FROM otherdb.wp_posts WHERE post_author = ...) or with a script (getting the usermeta, posts and postmeta data).
If you don't have a backup, you might get somewhat lucky with caches (Google, Internet Archive), but recovering content from that will be more labor intensive and you will likely not get all the content.
the same thing happened to me, i was devastated as it was time to hand over the site the actual owners.
The good news is that i recovered all my data, but lost all the users.
Steps to follow (PAGES)
- go to Pages in the admin panel and click on it
- look at the top pane where there is (All) (Published) (drafts) (bin)
- click on bin > select all the pages and restore all of them.( you will see restore at the drop down menu where you have delete)
Steps to follow (POSTS) 1. go to Posts page in the admin panel and click on it. 2. look at the top pane where there is (All) (Published) (drafts) (bin) 3. click on bin > select all the posts and restore all of them.( you will see restore at the drop down menu where you have delete)
not go to Settings on the Admin Panel left sidebar
Settings > reading > Select Homepage and Posts page. then click save. Kudos! you are good to go