Hi, I'm using your plugin to build a table on our website and it works fantastically well. There is only one detail I cannot get through and I'd like to know if you have a solution before I go too far on my own.
I have activated the "advanced filtering" for 5 out of 6 of the table columns and I'm displaying the filters with the "filter in form" option above the table. So now I have 5 select boxes and here come the question: the current label of the pick boxes are the same as the column headers, is there a way to change those label to a custom name? For example, my first column's header is "Project name", but I'd like the filter label name to be "Projects".
At this point, I have edited the first bloc of code found in /templates/wpdatatables_table_main.inc.php by adding a case of checking the tale header and replacing the output. It works, but I would prefer to have a clean way of either hooking/overriding the file rather than creating a future update or security issue. I tried copying the file into my child theme but unfortunately it doesn't overwrite it.
I understanded what are you trying to achieve but unfortunately we do not have hook for that at the moment.
My suggestion is that try to use jQuery to find that labels and to replace word All with " " and add that code in text field for that table. You can take a look here to find some useful tips.
Also if you can not do that by your own we can offer you our paid customization service.
Hi and thanks for the quick answer. Is it in the development plan to include a "Column filter label" field on the admin side for each column to solve this issue? Of course this is my opinion but I think it would be a pretty simple thing to add and would improve customization for the end-user.
For now we have a lot of tasks for future update but i will add this to our TODO list and maybe in future we will implement it. Thank you for your suggestion.
I'd like to take some time this morning to thank you for the suggestion you made to use jQuery to search and replace the labels. It worked perfectly and saved me a good bunch of hours / headache searching for a solution.
Hi, I'm using your plugin to build a table on our website and it works fantastically well. There is only one detail I cannot get through and I'd like to know if you have a solution before I go too far on my own.
I have activated the "advanced filtering" for 5 out of 6 of the table columns and I'm displaying the filters with the "filter in form" option above the table. So now I have 5 select boxes and here come the question: the current label of the pick boxes are the same as the column headers, is there a way to change those label to a custom name? For example, my first column's header is "Project name", but I'd like the filter label name to be "Projects".
At this point, I have edited the first bloc of code found in /templates/wpdatatables_table_main.inc.php by adding a case of checking the tale header and replacing the output. It works, but I would prefer to have a clean way of either hooking/overriding the file rather than creating a future update or security issue. I tried copying the file into my child theme but unfortunately it doesn't overwrite it.
thank you in advance for the support.
Bruno
Hi Bruno,
Thank you for your purchase.
I understanded what are you trying to achieve but unfortunately we do not have hook for that at the moment.
My suggestion is that try to use jQuery to find that labels and to replace word All with " " and add that code in text field for that table.
You can take a look here to find some useful tips.
Also if you can not do that by your own we can offer you our paid customization service.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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
Hi and thanks for the quick answer. Is it in the development plan to include a "Column filter label" field on the admin side for each column to solve this issue? Of course this is my opinion but I think it would be a pretty simple thing to add and would improve customization for the end-user.
thanks.
Bruno
Hi Bruno,
For now we have a lot of tasks for future update but i will add this to our TODO list and maybe in future we will implement it.
Thank you for your suggestion.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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
I'd like to take some time this morning to thank you for the suggestion you made to use jQuery to search and replace the labels. It worked perfectly and saved me a good bunch of hours / headache searching for a solution.
Keep up the good work!
Bruno
Hi Bruno,
I am glad that we were able to help.
If you have any issues feel free to write a new ticket.
We'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link.
Thanks!
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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