Okay
  Public Ticket #1550985
%CURRENT_POST_ID%
Closed

Comments

  • Bienecaro started the conversation

    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!

  •  472
    Isidora replied

    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: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables