and also it does not fit the page width :/
Hi,
thanks for your post, and sorry for the trouble.
The reason for this issue that one of the plugins on your site is raising a JavaScript error, which you can see in the JS error log console:
Uncaught TypeError: Cannot read property 'length' of undefined
Unfortunately, I can’t really see which file is causing this 🙁
I can therefore only suggest that you temporarily deactivate all plugins except TablePress one by one, until the error disappears.
Regarding the table not fitting on the page: The reason for that is that there’s simply too much data in the table for it to fit. The content in the columns requires more width than what’s available. If you can’t remove data, you could try turning on the “Horizontal Scrolling” checkbox on the table’s “Edit” screen (which will not work until the JS error from above is fixed).
Regards,
Tobias
Hi, I got all the plugins disabled, but the sorting and pagination again does not work
Regards
Hi,
ok, somehow the call to initialize the JS features has disappeared now…
Is the “Use DataTables” checkbox still active on the “Edit” screen of the table?
And (which is more likely the cause), does your theme contain a call to the wp_footer(); function right before the closing </body> tag in the footer.php?
Regards,
Tobias
Yes the checkbox is still active in the edit screen of the table
Here you can find the codes in my theme both index.php and footer.php are seperated by a line in the txt file.
files_download
Hi,
ok, please add this line right before
</body>
in the footer.php then:
<?php wp_footer(); ?>
I’m a little bit confused that this line is not there. Did you remove that recently?
Regards,
Tobias
at the end of the footer.php, I have edited it like this. But I havent touched anything before, just added the facebook pixel codes
</body>
<?php wp_footer(); ?>
</html>
Hi,
please put that line before the </body>, you will run into other issues otherwise.
Besides that, the sorting should work after that 🙂
Regards,
Tobias
I know I am taking your time but I have edited it like that but again the sorting and the pagination does not work 🙁
oo sorry for that, it is working :))) many thanks for your great support…
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!