WP-Table Reloaded
[resolved] Search fields and pagination not displayed (Javascript issue?) (6 posts)

  1. djacobson
    Posted 3 years ago #

    I have not been able to determine what has caused my search fields and pagination buttons to disappear on all of my tables. It might have been due to deactivating / reactivating W3-Total-Cache? Regardless, I have:

    * DataTables enabled
    * Site URL and WordPress URL match

    My web site:

    Your assistance greatly appreciated,

    David Jacobson


  2. djacobson
    Posted 3 years ago #


    * lang-en_US\.txt in the "Never cache the following pages:" Page Cache section of W3-Total-Cache, but, I have also completely deactivated W3-Total-Cache as well with no success.

  3. TobiasBg
    Plugin Author

    Posted 3 years ago #


    thanks for your post, and sorry for the trouble.

    This is one of the more tricky things.
    The reason for this is a JavaScript problem, but nobody is to blame really. What happens is this:
    The main JS file of your theme wants to initialize the Fancybox Gallery JS script. This Fancybox scripts, in one line of its code, needs to find out what browser the viewer is using. For that, it uses the jQuery JS library. Your site is configured so that it will always load the latest version of jQuery library from the Google CDN network. And just a few days ago, jQuery was released in version 1.9, which (on purpose) drops support for the functionality to determine what browser the viewer is using.
    So, because of that, the Fancybox script fails, and that causes the theme's JS code to fail. And that again stops all JS on the page, so that the sorting/search/pagination JS for tables also is not executed.

    The mid-term solution is that the Fancybox plugin will need to update its JS code, so that it is compatible with jQuery 1.9. The short-term solution is to not load the latest version of jQuery from the Google CDN, but to use the version 1.8.3 that ships with WordPress. (This is probably done by your theme or another plugin that you have installed for this purpose.)


    P.S.: By the way: WP-Table Reloaded has been replaced by a much better and official successor: TablePress. No immediate action is necessary (and this will not directly help with your issue), but I recommend that you switch in the next couple of months. For more information, please see http://tobias.baethge.com/2013/01/tablepress-replaces-wp-table-reloaded/

  4. djacobson
    Posted 3 years ago #

    Thank you Tobias! I am working on finding out where to mod that in my theme ("seventeen"), and will report back here asap.

    BTW, tablepress looks awesome and is the main reason I am working to upgrade this WordPress site this coming month. :)


  5. djacobson
    Posted 3 years ago #

    Fixed it! ...this tip helped:


    Thank you for putting me on the right track Tobias!


  6. TobiasBg
    Plugin Author

    Posted 3 years ago #

    Hi David,

    great to see that you found a solution! :-)
    I'd recommend one more change: Instead of loading the old version 1.7.1, please load 1.8.3. Otherwise, you will run into trouble sooner or later.
    Just change that version number in the code that you found on that page that you linked to.

    Best wishes,

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Table Reloaded
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic