Holiday Notice – Support Unavailable on April 18 and April 21
We just wanted to let you know that our support team will be offline on Friday, April 18th (Good Friday) and Monday, April 21st (Easter Monday) due to the holidays.
We'll be back on Tuesday, ready to assist you!
In the meantime, if you need any help, feel free to:
-
Use the support widget in the bottom right corner on our websites (Amelia and wpDataTables) — our latest AI-powered assistant is there 24/7 to help with basic and intermediate questions,
-
Browse our detailed documentation (Amelia, wpDataTables)
-
Explore helpful articles,
-
Or check out our YouTube channels for video guides!
Amelia YouTube Channel
wpDataTables YouTube Channel
Thank you for your understanding, and we wish you a wonderful holiday weekend!
Hi - how can I move the 'Showing X of X entries' (info block) to the top of the table?
Many thanks.
Hi mks222,
Thank you for the purchase.
Only way to move info block above the table is to edit plugin file. In file ../wp-content/plugins/wpdatatables/source/class.wpdatatable.php on line 2671 find:
and replace it with:
perfect - thank you! Any ideas on how not to overwrite when I update the plugin?
Hi mks222,
There is a solution not to overwrite this using filters. You can create your custom function that you have to add in function.php file of your theme.
wpdatatables_filter_table_description( $object, $tableId )
This filter is applied to an object (PHP’s StdObj), which is later printed as a table’s data attribute (json_encoded), and used to initialize the DataTables instance, and to describe other table settings and parameters that are used by the frontend JS library.
$object is the PHP StdObj which contains all the necessary fields for initializing the table
$tableId is the table identifier from the MySQL table (wp_wpdatatables)
thanks Milos - would I just paste that in functions as you wrote it? Or do I need to write a function calling wpdatatables_filter_table_description( $object, $tableId )?
Thanks.
Hi mks222,
You have to write function that will use this filter. You can add this function in function.php file of your theme.
great, thank you!