Hi,
thanks for your post, and sorry for the trouble.
Essentially, TablePress is following the WordPress philosopgy “Decisions. Not Options.” here. Most users do want to use these features with their tables, which is why they are enabled by default.
Changing these defaults is of course possible, but requires a bit of custom code. For turning off the “Table Features for Site Visitors” by default, you’ll simply need to download, install, and activate the TablePress Extension from https://tablepress.org/extensions/datatables-off-new-tables/ as a new plugin on your site. For new tables, added or imported after installing that, the “Enable Visitor Features” checkbox will be turned off already.
Now, for the existing tables, you have a few options here:
- Either go through that process of turning the feature off for every table.
- Or we can also modify that TablePress Extension so that it overrides the checkbox state and turns the feature off for all tables.
- Or you could e.g. export all your tables in the JSON format, as a ZIP file. Then, export that on your computer and use search/replace in a good text editor to change the settings, and then re-import the changed files (again in a ZIP file, so that it’s just a single import).
Regards,
Tobias
Hey Tobias, Thanks for the reply.
Can we do this? Or we can also modify that TablePress Extension so that it overrides the checkbox state and turns the feature off for all tables.
Thanks.
Hi,
for that, download that Extension and replace its code with e.g. the code from
Alternatively, you could add that code to your theme’s “functions.php” file.
Regards,
Tobias
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!
