I would like to have 1 table with data. This table contains data where one column contains the provinces in the Netherlands. I would like to show this table on different pages. For example on one page for the whole of the Netherlands. And on another, but in that case pre-filtered on 1 province.
I have tried with the following shortcode: [wpdatatable id=7 table_view=regular prefilter_column2=Overijssel]
This does not work however. How can I do this? Which is the right shortcode?
(I know it is possible through URL, but i really would like to do it with a shortcode)
I would like to have 1 table with data. This table contains data where one column contains the provinces in the Netherlands.
I would like to show this table on different pages. For example on one page for the whole of the Netherlands. And on another, but in that case pre-filtered on 1 province.
I have tried with the following shortcode:
[wpdatatable id=7 table_view=regular prefilter_column2=Overijssel]
This does not work however. How can I do this? Which is the right shortcode?
(I know it is possible through URL, but i really would like to do it with a shortcode)
Hello Nick
Sorry for the late response.
You can add %VAR1% placeholder as a predefined filtering value in column settings of column2.
Then, you can modify the value of that placeholder through the shortcode, like:
[wpdatatable id=7 var1=Overijssel]
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