(How) Is it possible to keep the text that appears after a search and says "Showing X to Y of Z entries" but remove what's added after it = (filtered out of Y total entries) ?
wp-content/plugins/wpdatatables/source/class.wdttools.php on line 494, wp-content/plugins/wpdatatables/source/class.wdttools.php on line 495, wp-content/plugins/wpdatatables/source/lang/english.inc.php on line 7
remove "filtered from _MAX_ total entries" and save.
But you will have to do this after every update as this setting will be overridden by each new update.
I hope this helps, please don't hesitate to contact us if there is anything else we can assist you with.
To confirm, what you are sort of saying is that either copying this file in my child theme is not possible, or even if is then doing so is not advisable. Yes?
#2
Did you mean to write the name of a different file for
wp-content/plugins/wpdatatables/source/class.wdttools.php on line 495 ?
It's the same one as
wp-content/plugins/wpdatatables/source/class.wdttools.php on line 494
Hey Sebastian, I had the exact same issue just this past week! You *may* also want to remove the phrase "(filtered from _MAX_ total entries)" from the JS file: /assets/js/wpdatatables/wdt.frontend.min.js
I'm a noob at wpDataTables but assume it's used when auto-refreshing feature is enabled.
When you are posting on ticket that are not yours or have questions or issues which are not related to the title of the active ticket can you please open a new one, and we will help you there. In that way, issues and questions which are related to different subjects will be in different tickets so other customers or our support agents can find it easily. Our policy is to have one issue or question per ticket because of the reasons that is described already.
Thank you for understanding.
In a separate ticket please provide us more information about how the table was created and provide us with the source file if possible. Are you experiencing the same issue on the backend?
Hello,
(How) Is it possible to keep the text that appears after a search and says "Showing X to Y of Z entries" but remove what's added after it = (filtered out of Y total entries) ?
Thanks!
Hi Sebastian
Thank you for reaching out to us.
You can try this, in the files below
wp-content/plugins/wpdatatables/source/class.wdttools.php on line 494, wp-content/plugins/wpdatatables/source/class.wdttools.php on line 495, wp-content/plugins/wpdatatables/source/lang/english.inc.php on line 7
remove "filtered from _MAX_ total entries" and save.
But you will have to do this after every update as this setting will be overridden by each new update.
I hope this helps, please don't hesitate to contact us if there is anything else we can assist you with.
Got it. Thank you.
#1
To confirm, what you are sort of saying is that either copying this file in my child theme is not possible, or even if is then doing so is not advisable. Yes?
#2
Did you mean to write the name of a different file for
wp-content/plugins/wpdatatables/source/class.wdttools.php on line 495 ?
It's the same one as
wp-content/plugins/wpdatatables/source/class.wdttools.php on line 494
Hey Sebastian, I had the exact same issue just this past week! You *may* also want to remove the phrase "(filtered from _MAX_ total entries)" from the JS file: /assets/js/wpdatatables/wdt.frontend.min.js
I'm a noob at wpDataTables but assume it's used when auto-refreshing feature is enabled.
Cheers, Scott
Hi Sebastian and Scott
First of all let me thank you, Scott, for this suggestion, this can be updated as well.
1. Yes copying this file in you child theme is not possible.
2. Please make the change on all the lines as mentioned below no matter if they are the same.
Got it and clear.
Thank you Scott and Blaženka!
You are most welcome
Do let us know if there is anything else we can assist you with.
Have a wonderful day!
can you tell the meaning of this? Thank you
Hi Arvin
When you are posting on ticket that are not yours or have questions or issues which are not related to the title of the active ticket can you please open a new one, and we will help you there. In that way, issues and questions which are related to different subjects will be in different tickets so other customers or our support agents can find it easily. Our policy is to have one issue or question per ticket because of the reasons that is described already.
Thank you for understanding.
In a separate ticket please provide us more information about how the table was created and provide us with the source file if possible. Are you experiencing the same issue on the backend?
Simpler way without editing any files, add the following to your functions.php or snippets plugin:
add_filter( 'gettext', function($translated, $original, $domain) {
if ( $original == "(filtered from _MAX_ total entries)" ) {
$translated = "";
}
return $translated;
}, 10, 3 );
Thank you for your assistance here, Josh.
Much appreciated!
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