Comments OlafGiesick started the conversationApril 13, 2018 at 6:12pmHi from Hamburg in Germany. A short question: Is it possible to edit the defaults of „rows per page“? I don't want to show „all“ entries of my table to my visitors. So it would be great, if I could edit this pulldown-menu from "10, 25, 50, 100, all“ to „10, 25, 50, 100". Thanks in advance for your help. 1,849Miloš repliedApril 16, 2018 at 9:30amHI OlafGiesick,Thank you for your purchase.You can change that by following this steps:in file: ../wp-content/plugins/wpdatatables/source/class.wpdatatable.php find this line of code $obj->dataTableParams->aLengthMenu = json_decode('[[10,25,50,100,-1],[10,25,50,100,"All"]]'); and modify it to look like this $obj->dataTableParams->aLengthMenu = json_decode('[[10,25,50,100],[10,25,50,100]]'); Let me know the result.Best regards.Kind Regards, Miloš Jovanović[email protected] Rate my supportTry 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 Sign in to reply ...
Hi from Hamburg in Germany.
A short question: Is it possible to edit the defaults of „rows per page“? I don't want to show „all“ entries of my table to my visitors.
So it would be great, if I could edit this pulldown-menu
from "10, 25, 50, 100, all“
to „10, 25, 50, 100".
Thanks in advance for your help.
HI OlafGiesick,
Thank you for your purchase.
You can change that by following this steps:
in file: ../wp-content/plugins/wpdatatables/source/class.wpdatatable.php find this line of code
and modify it to look like this
Let me know the result.
Best regards.
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