4. The variable 'oranges' gets passed to the wpdatarereport, so I can make a heading at the top of the word document saying the report is about oranges.
2. If you enabled "Follow table filtering" when you created the report, it will follow the filter given in the URL.
3. Variable placeholders are usually defined through the shortcode, if you want to change them. Otherwise, you would need to change them through URL like mentioned under 1.
4. Unfortunately, something like this is not possible, and would have to be done as a custom solution, which is not included in the provided support.
Can I do this, and if so, how?
1. Have a URL like this: https://www.acme.org/produce/fruit?wdt_column_filter[2]=oranges
2. On that page, there is a table and below it a wpdatareport button.
3. The variable 'oranges' gets picked by either var1, var2 or var3 (or otherwise indicated maybe in the url that var1= oranges https://www.acme.org/produce/fruit?wdt_column_filter[2]=oranges&var1=oranges )
4. The variable 'oranges' gets passed to the wpdatarereport, so I can make a heading at the top of the word document saying the report is about oranges.
Is any of that possible?
Hello Randal
1. You can pre-filter the table through URL, like mentioned in your question.
2. If you enabled "Follow table filtering" when you created the report, it will follow the filter given in the URL.
3. Variable placeholders are usually defined through the shortcode, if you want to change them. Otherwise, you would need to change them through URL like mentioned under 1.
4. Unfortunately, something like this is not possible, and would have to be done as a custom solution, which is not included in the provided support.
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