Directly querying the WordPress database for posts May 18, 2012|ColdFusion, Wordpress A quick look into how the WordPress posts tables are set up and a custom view query that can be used outside of php to loop through the posts or pages.