Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5527

VisualData on "Database Relations and Tables in PHP"

$
0
0

Thanks Tobias. the template tag function is a good idea.

HI L4SN,

How many items will share the same template? if you have a few items (for example pages) sharing this template and you don't need custom fields somewhere else, Tobias's solution actually works better, without the overhead of another plugin for custom fields. You may first retrieve the slug of the page, and produce a table specific to this page using a "if" statement or "switch" statement.

If you have many items or you want to add new items (for example posts) frequently in the future sharing the same template, then storing TablePress short codes in custom fields may be a better alternative.


Viewing all articles
Browse latest Browse all 5527

Trending Articles