Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Can anyone recommend plugin that I can use to add a table to a page? I've seen ones that use static data-- you hardcode the figures in the table. I want to pull the data from a custom db table and put it in a table.

I looked at WP Table Reloaded, but I'm not sure whether, it's possible to use it with dynamic data.

Any suggestions?

Thank you.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

Set up a custom page template and in the content of the template use WPDB to query your table.

Example to get a row:

$mylink = $wpdb->get_row("SELECT * FROM $wpdb->links WHERE link_id = 10");
share|improve this answer
Hi GavinR, Thank you for your message. Would this work: $mylink = $wpdb->get_row("SELECT * FROM $wpdb->wp_my_custom_table WHERE link_id = 10"); Where wp_my_custom_table is a table I create in the wp database? Thank you. –  Laxmidi Aug 26 '11 at 19:20
add comment

The closest thing to what you are looking for would be ProjectManager http://wordpress.org/extend/plugins/projectmanager/ without creating the database tables manually.

share|improve this answer
Hi Bainternet, Thank you for the suggestion. In my situation, I think that I'll need a custom table. –  Laxmidi Aug 26 '11 at 19:22
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.