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


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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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