We have two tables that display employee birthdays and anniversaries. On certain days, there may not be any birthdays or anniversaries and our tables display "No data available in table". Is there a way to change the text to say "No birthdays today." for our birthday table and "No anniversaries today." for our anniversaries table instead of the standard text?
Unfortunately, you can't do this with the plugin's built-in features.
You can change the text, but it will be applied to all tables, so if you change it from "No data available in table" to "No birthdays today" it will say that for the anniversaries table too.
We are using your plugin on our site to display a few tables of job postings. We would also like to be able to replace this text displayed for empty tables with something customized for each of our tables. I have tried a few different routes with jQuery and vanilla JavaScript but have not had any luck.
../wp-content/plugins/wpdatatables/source/class.wdttools.php around line 415:
'sEmptyTable' => __('No data available in table', 'wpdatatables'),
Unfortunately, this will change for all tables, and customizing it for each table individually would have to be done as custom work, which is not included in the provided support for the plugin. You can take a look at our hooks and filters and see if that helps.
Hello,
We have two tables that display employee birthdays and anniversaries.
On certain days, there may not be any birthdays or anniversaries and our tables display "No data available in table".
Is there a way to change the text to say "No birthdays today." for our birthday table and "No anniversaries today." for our anniversaries table instead of the standard text?
Hello rolando.
Unfortunately, you can't do this with the plugin's built-in features.
You can change the text, but it will be applied to all tables, so if you change it from "No data available in table" to "No birthdays today" it will say that for the anniversaries table too.
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
Hey Aleksandar,
We are using your plugin on our site to display a few tables of job postings. We would also like to be able to replace this text displayed for empty tables with something customized for each of our tables. I have tried a few different routes with jQuery and vanilla JavaScript but have not had any luck.
Hello Mason
To change the text, you need to edit this file
../wp-content/plugins/wpdatatables/source/class.wdttools.php around line 415:
Unfortunately, this will change for all tables, and customizing it for each table individually would have to be done as custom work, which is not included in the provided support for the plugin. You can take a look at our hooks and filters and see if that helps.
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