Hi Tobias,
I inspect the console tab and see this error:
SCRIPT438: Object doesn’t support property or method ‘dataTable’
Do you know how to solve it? Please
Hi,
thanks for your question, and sorry for the trouble.
Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks! (I don’t see the error on the link in your initial post.)
Regards,
Tobias
Hi Tobias, so glad to receive your feedback. This is the link
or
It is important to me to have the search and filter function. I am just afraid that I have the problem which jquery which I do not have the coding skills to solve :((.
I will be very appreciated and support if you can help me with this.
Hi,
ok, thanks! Are you sure that the “Use DataTables” checkbox is turned on?
And can you please check if your theme’s “footer.php” file contains a line like
wp_footer();
just before the closing </body> HTML tag?
Can you please test with a WordPress default theme like Twenty Nineteen as well?
Regards,
Tobias
Yes I have wp_footer(); on the “footer.php” file, as below. I have checked Use DataTables. I just switched to Twenty Nineteen theme also but it does not work as well. This is the code I used for the extensions: [table id=7 responsive=”scroll” /]
<?php astra_footer_before(); ?>
<?php astra_footer(); ?>
<?php astra_footer_after(); ?>
</div><!– #page –>
<?php astra_body_bottom(); ?>
<?php wp_footer(); ?>
</body>
</html>
Hi,
ok, it seems that you’ll need to exclude jQuery and TablePress files from the Autoptimize plugin settings. Can you please try that?
Also, it looks like the Search/Filter checkbox on the “Edit” screen of the table is turned off?
Regards,
Tobias
Hi Tobias, Yes you are totally right. Now the Table Press works perfectly on my site.
Thanks a lot for your time and help.
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!