Hi,
thanks for your post, and sorry for the trouble.
My assumption here is, that this is caused by your theme. From what I can see, your theme is loading its own copy of the jQuery library, and instead of using the up-to-date version 1.8.3 that ships with WordPress, it is bringing 1.2.6 with it!
This likely causes the JavaScript code of the DataTables library to fail.
To quickly verify this assumption, please switch to the WordPress default theme TwentyTwelve, temporarily, and check if the DataTables functions work then.
If that is the case, you should get your theme updated, either by contacting its developer, or by simply removing the code that adds that custom version of jQuery.
Regards,
Tobias
You were right Tobias, it was due to the theme.
The theme I’m using is no longer supported by its developer, but I managed to fix this issue by replacing the jquery file of the theme by a newer version. Everything is ok now.
Thank you again for your help.
Tamenori
Hi,
great to hear that this solved it! (And sorry to hear, that your theme is no longer supported 🙁 )
Instead of replacing the JS file, a better (and more future-proof) fix would be to open the theme’s “header.php” file and to remove the lines
<script type="text/javascript" src="http://www.frank-poupart.org/blog/wp-content/themes/mandigo/js/jquery.js"></script>
and
<script type="text/javascript">jQuery.noConflict();</script>
(Instead of the URL of your site, the first line might contains something like site_url().)
Without this, you would have to replace the JS file with the latest version from WP after every WordPress update. And this would actually load the jQuery library twice for each user, which makes the site slower.
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!
Even better 😀
You deserve 5 stars !
Hi,
great 🙂 Thanks a lot, I really appreciate it!
Best wishes,
Tobias