WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to present content from a table located in Wordpress data base to a Wordpress page. Is there any plugin that i can use.If not,what is the simplest way to code it? Thanks, Ron

share|improve this question

Had you looked into plugins tagged "table" in official repository?

As for coding it by hand it should not be too complex, use $wpdb to query database and loop/output results with HTML table markup.

share|improve this answer
Thanks Rarst, Where should i put the syntax ? i.e. i have the SQL but where should i put it in? Can i write it on the HTML editor of a regular page or somewhere else? Thanks, Ron – ron Sep 15 '11 at 11:55
@ron if you only need it on single page, I'd make custom page template, PHP code won't work in editor (unless you install plugin for that, which is usually overkill). Otherwise you can place code in functions.php of your theme or create simple plugin to hold it. So really - it depends, many ways to do it. – Rarst Sep 15 '11 at 12:33

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.