We'll create fresh WordPress site with DbTable to DataTable installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin allows you to display the content of MySql tables into sortable html tables thanks to the DataTable jQuery Plugin.
You don’t need any configuration and once installed, it is ready to use.
Simply add the shortcode [dbtable]
into an article or a page and you will have a nice and clean table.
All parameters that contain more than one value have to be separated by commas without spaces.
Minimum needed : [dbtable from=MysqlTableName]
select=field1,field2,field3
will display all rows of the table and only specified fieldsexcept=field1,field2,field3
will display all rows of the table except specified fieldscssClass=class1,class2
will add class1 and class2 to the class attribut of the tablecomments=true|(false)
true will use comments specified in each field of the MySql table as datatable column names. If true and if a comment is missing, the plugin fallback on field name only for the one missing, not for the entire table.pagination=true|(false)
will show/hide the bottom pagination links. If false, make sure you have the limit parameter large enough to display all your dataslimit=25
Display 25 rows by default.