DataTables Automatic Filtering

Sometimes it can be useful to initialize the “Search:” field above a table with a filter word. The advantage of this method over the Row Filtering Extension is, that the user can change the filter word, to e.g. show all entries in the table.

To use this, download, install, and activate the Extension like a regular WordPress plugin. Then, on the page where you want to show the table, insert the extended Shortcode

[table id=123 datatables_auto_filter="word" /]

and change the 123 to the desired table ID. Here, word would be the initial filter that is set once the table is viewed.

If this Extension is helpful for you, please consider supporting further TablePress development with a donation. Thank you!

Top