This Extension of the Row Filtering Extension adds a new Shortcode that allows the
filter value for the Row Filtering Extension to come from a GET parameter in the URL, instead of having it hardcoded in the Shortcode.
To use it, download, install, and activate both the Row Filtering Extension and this Extension, just like a regular WordPress plugin. Then, on the page where you want to show the pre-filtered table, insert the extended Shortcode
[table_filter id=123 /]
which will automatically filter and return table
123, filtered for the URL GET parameter
table_filter, like in the URL
This would be the equivalent to using the Shortcode
[table id=123 filter="myfilterword" /]
with just the Row Filtering Extension — except that the filter term is defined by the parameter
table_filter in the URL.
All other parameters for the Row Filtering Extension can still be used. Note that this Extension will do some input sanitization on the
table_filter parameter for security reasons, so that only letters and numbers are allowed in it, by default.
If this Extension is helpful for you, please consider supporting further TablePress development with a donation. Thank you!