Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBrandon Brigham
3,716 PointsHow do I grab blog posts via phpMyAdmin?
Hello
So a blog of my clients' has been hacked and we can't get to the WordPress dashboard to export the posts.
Is there a way to grab the posts via phpMyAdmin?
I've noticed there are to fields that seem like this could work but want to make sure it will actually work
wp_posts wp_postmeta
Thanks!
2 Answers
Jonny Noble
11,165 PointsI'm pretty sure that you would have to export the database through phpmyadmin. Once you have a new WordPress install and db set up you can then import the old database into the new install.
Jonny Noble
11,165 PointsYou would require knowledge of how databases work etc.
Check this link out https://www.elegantthemes.com/blog/tips-tricks/import-export-wordpress-website
Brandon Brigham
3,716 PointsThanks
Brandon Brigham
3,716 PointsBrandon Brigham
3,716 PointsBut I don't want to export the entire database, only the posts, is that possible to do?