I have a front-end editable table. i would like to show it on several pages, but filter it by %CURRENT_POST_ID% . So that on each page, only the data that was entered on that page is visible. Your documentation on advanced filtering says that it is possible to use the %CURRENT_POST_ID% placeholder. However, I am not quite clear how to apply it. Must I add a (hidden) row with the current post Id? But how can that be filled automatically can taht be a predefined value?
Placeholder %CURRENT_POST_ID% will get post or page id where you insert shortcode of the table where you are using it. If you want to filter table with this placeholder on post or page you have to insert him in Predefined value on Filtering tab in column settings.(please look video tutorial about Placeholders) He will get value of current page or post and table will be filtered.
Hi,
I have a front-end editable table. i would like to show it on several pages, but filter it by %CURRENT_POST_ID% . So that on each page, only the data that was entered on that page is visible. Your documentation on advanced filtering says that it is possible to use the %CURRENT_POST_ID% placeholder. However, I am not quite clear how to apply it. Must I add a (hidden) row with the current post Id? But how can that be filled automatically can taht be a predefined value?
Thanks for your help!
Hi Bienecaro,
Thank you for your purchase.
Placeholder %CURRENT_POST_ID% will get post or page id where you insert shortcode of the table where you are using it. If you want to filter table with this placeholder on post or page you have to insert him in Predefined value on Filtering tab in column settings.(please look video tutorial about Placeholders) He will get value of current page or post and table will be filtered.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables