Grab data from WordPress database
June 20 2008 by Dejan Cancarevic
Previously we have learned some useful WordPress Tricks which gave us new possibilities by turning WordPress into a kind of Content Management System (CMS). Basically it was for beginners level so now we’ll do something more advance by learning how to grab various data from WordPress database and then style it etc by using a bit more of pure php.
I’m going to demonstrate this on two examples - display latest comments and latest post by most commented (if you for example need just latest posts check useful WordPress tricks comments










