How to get all wp_posts in wordpress fetched from database
I have downloaded a theme and installed it. Here the theme has custom fields for limited numbers. For ex. author_name
, comments
but, I want all the wp_posts to be displayed.
And prior to that, actually I have a database associated with this. So basically I want my piece of code to read the whole database and represent it in columns in my wordpress page. For ex. author_name
, ping_status
, post_status
etc.
So basically I want to write a function, that can access my database and pull the data from database and dump back in my wordpress page.
I don't know if I put it in the right words, but please do help me get through this.
Topic list custom-field Wordpress
Category Web