Comments Ken Hagen started the conversationNovember 16, 2018 at 12:37pmWhen placing a calculated column on a page the short code is returning text in front of the value (i.e. "Avg = "). Can this be removed? By definition of these short codes we already now what it is and should just have the number to format as needed. Thanks. 472Isidora repliedNovember 19, 2018 at 9:47amHi Ken,Thank you for your purchase.Sorry for late response. We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.Yes you can, but you need to modify some files in core of plugin. In file wp-content/plugins/wpdatatables/controllers/wdt_functions.phpa reound line 505 you will find this $attributes['label'] = get_option('wdtAvgFunctionsLabel') ? get_option('wdtAvgFunctionsLabel') : 'Avg =';and there you can remove that string 'Avg =' and then your code will look like this: $attributes['label'] = get_option('wdtAvgFunctionsLabel') ? get_option('wdtAvgFunctionsLabel') : '';Please note that this will be overwritten in next update so you will have to do it again.Best regards.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 Sign in to reply ...
When placing a calculated column on a page the short code is returning text in front of the value (i.e. "Avg = "). Can this be removed? By definition of these short codes we already now what it is and should just have the number to format as needed.
Thanks.
Hi Ken,
Thank you for your purchase.
Sorry for late response.
We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.
Yes you can, but you need to modify some files in core of plugin. In file
wp-content/plugins/wpdatatables/controllers/wdt_functions.phpa reound line 505 you will find this
and there you can remove that string 'Avg =' and then your code will look like this:
Please note that this will be overwritten in next update so you will have to do it again.
Best regards.
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