I have all of the query strings already figured out but I'm not sure how to add them to my page URLs so that when a user visits that page the table is filtered correctly.
Once you create a page, use the example from our documentation to find the filter ID [1] in the example you took from our documentation, and make sure it works.
Then, when creating a hyperlink to that page from another page on your site, you can use the full URL that contains the filter URL data.
If you want to create a page that automatically loads the filtered URL, you can modify the Permalink when you publish the page:
I'll be using a single table on several pages and want to pre-filter the table based on a query string as described here: https://wpdatatables.com/documentation/table-features/global-search-via-url/?wdt_column_filter[1]=Linz
I have all of the query strings already figured out but I'm not sure how to add them to my page URLs so that when a user visits that page the table is filtered correctly.
Hello William
Sorry for the late response.
Once you create a page, use the example from our documentation to find the filter ID [1] in the example you took from our documentation, and make sure it works.
Then, when creating a hyperlink to that page from another page on your site, you can use the full URL that contains the filter URL data.
If you want to create a page that automatically loads the filtered URL, you can modify the Permalink when you publish the page:
Here's the reference: https://wpdatatables.com/change-wordpress-url/
There are multiple methods you can do this, depending on your Page Builder, and general approach.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables