• Resolved Decimus

    (@decimus)


    Hi Tobias

    I’m using TablePress 1.14

    I typically use it for listing all the posts on our website and for some tables that are huge but the JavaScript search and listing of x records per page and scroll all work nicely…. and it means I don’t need to use a database lookup which is above my knowledge base!

    Here are two examples of how I am using TablePress (scroll to bottom of post to see TablPress table)

    https://www.bajanthings.com/posts-index/
    https://www.bajanthings.com/barbados-almanacs-sugar-works-1848-1871/

    I am hosted by SiteGround who have a tool to help speed up WordPress called SG Optimizer. To get the TablePress magic to work with in SG Optimizer | Frontend | JavaScript – I have had to disabled: Minify JavaScript Files, Combine JavaScript Files, Defer Render-blocking JavaScript

    Previously you used to be able to exclude given pages but no longer in the updated version.

    With SG Optimizer you can list .js files to exclude, but I don’t see any TablePress specific ones listed by SiteGround…. I thought I might be looking for: /wp-content/plugins/tablepress/js/jquery.datatables.min.js

    Maybe I’m looking for something else?

    Many thanks

    Peter

    • This topic was modified 3 years ago by Decimus.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.
    Also, sorry for the late reply. I was very busy with personal life, so that I could not reply earlier.

    The only JS file that TablePress loads indeed is
    /wp-content/plugins/tablepress/js/jquery.datatables.min.js
    on top only of the jQuery library
    /wp-includes/js/jquery/jquery.min.js

    So, these might have to be included. In addition, TablePress uses a bit of inline JS to initialize the JavaScript functions. That should also be left untouched.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘TablePress and SG Optimize (Javeascript)’ is closed to new replies.