• Resolved nigelvaughan

    (@nigelvaughan)


    I’m having an issue getting the TabllePress’s jQuery menu enhancements to work.

    I’ve loaded up a table on a test page – http://www.photocopierexperts.co.uk/test and although the sorting/filtering/horizontal scrolling etc have been selected in the tablepress settings – none are being applied to the table.

    The site is running a modified version of the Twenty Ten theme. I noticed that no jQuery was being loaded, so I needed to add the necessary code in functions.php. The latest version of jQuery is now being loaded but the problem remains. I’ve tried switching off all other plugins and that didn’t solve the problem either.

    I’m sure it’s something simple that was removed when the child theme was modified.

    Debug and Version information…
    · Website: http://photocopierexperts.co.uk
    · TablePress: 1.4
    · TablePress (DB): 24
    · TablePress table scheme: 3
    · Plugin installed: 2014/05/19 12:43:09
    · WordPress: 3.9.1
    · Multisite: no
    · PHP: 5.3.27
    · mysqli Extension: false
    · mySQL (Server): 5.5.36-cll
    · mySQL (Client): 5.5.36
    · ZIP support: yes
    · UTF-8 conversion: yes
    · WP Memory Limit: 40M
    · Server Memory Limit: 256M
    · Magic Quotes: on
    · WP_DEBUG: false
    · WP_POST_REVISIONS: true

    https://wordpress.org/plugins/tablepress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Please remove that custom modification for loading jQuery. Doing that will most probably result in issues in the future.
    Instead, please check if your theme contains a call to the wp_footer(); function right before the closing </body> HTML tag. From what I can see, that seems to be missing (which is the reason why the TablePress JS function calls, including the loading of jQuery are not executed).

    Regards,
    Tobias

    Thread Starter nigelvaughan

    (@nigelvaughan)

    Thanks Tobias – that was the problem. The wp_footer() code was commented out.

    Thanks for the swift response!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    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!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘JS functions not working’ is closed to new replies.