I would like to pre-set filters to be based upon the page_title (note that wp_page_title will be country names and will match the data field I am entering).
The only built-in option here would be to use placeholders as predefine filtering values for some columns. Try with %CURRENT_POST_ID% placeholder, maybe that will help.
If you have the page title saved in the table, you can use %VAR1% placeholder as a predefined filtering value, but don't enter anything in it in the Placeholders tab above the table.
Then, you can modify the placeholder through the shortcode, like [wpdatatable id=1 var1=test1]
I would like to pre-set filters to be based upon the page_title (note that wp_page_title will be country names and will match the data field I am entering).
Hello Bret
Thank you for your purchase.
The only built-in option here would be to use placeholders as predefine filtering values for some columns. Try with %CURRENT_POST_ID% placeholder, maybe that will help.
If you have the page title saved in the table, you can use %VAR1% placeholder as a predefined filtering value, but don't enter anything in it in the Placeholders tab above the table.
Then, you can modify the placeholder through the shortcode, like [wpdatatable id=1 var1=test1]
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