I would like to have the possibility to add a timestamp such that visitors can read what date or time the data table last was edited. Is there already such an option?
This can be done for manual or SQL Query based tables.
1. Create a column for eg. "Updated"
2. In Column Settings :
DATA - DateTime
EDITING - None
3. Run this query in the database:
ALTER TABLE `table_name` CHANGE `updated` `updated` DATETIME NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;
Hi
I would like to have the possibility to add a timestamp such that visitors can read what date or time the data table last was edited. Is there already such an option?
Best regards
Michael
Hello Michael
This can be done for manual or SQL Query based tables.
1. Create a column for eg. "Updated"
2. In Column Settings : DATA - DateTime EDITING - None
3. Run this query in the database: ALTER TABLE `table_name` CHANGE `updated` `updated` DATETIME NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;
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