WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Conflict with WP Super Cache Plug-In (5 posts)

  1. johnllarkin
    Member
    Posted 1 year ago #

    Good Morning Tobias

    Thank you for an excellent plug-in.

    I have successfully migrated to TablePress from WP Table Reloaded.

    Everything is fine other than that if the plug-in WP Super Cache is activated the tables and cells are not aligned correctly.

    For example, the adjacent cells are not top aligned correctly. Each table has two columns in these cases:

    http://www.larkin.net.au/connection/educators/

    http://www.larkin.net.au/history/year-8-history-links/

    http://www.larkin.net.au/blog/2011/01/03/twitter/

    In other instances line breaks or spacing between lines are missing. Scroll down the page...

    http://www.larkin.net.au/blog/2013/02/25/ipad-in-education/

    Should I use the
    tag to achieve line spacing?

    If I deactivate WP Super Cache the tables appear exactly as they should.

    I am not using any Custom CSS as it is not required if WP Super Cache is deactivated.

    Any assistance greatly appreciated.

    Regards

    John

    http://wordpress.org/extend/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi John,

    thanks for your post, and sorry for the trouble.

    The reason for this seems to the URL rewriting that WP Super Cache performs.
    For example, it converts the URL of the TablePress default CSS file to
    http://static.larkin.net.au/wp-content/plugins/tablepress/css/default.min.css

    However, the server only returns a "404 Not found" error for that URL. If I however change the "static" at the beginning to "www", the file is returned, as expected.

    The same happens for the WordPress core JS file http://static.larkin.net.au/wp-includes/js/comment-reply.min.js

    So, my assumption is that something in the WP Super Cache or server configuration (regarding the URL rewriting) is not set up properly.

    Regards,
    Tobias

  3. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi John,

    after taking another look at your pages, I'd actually like another suggestion (which is independent from the original issue):
    You are using TablePress tables for things that shouldn't really be done with tables (that is, you are using them for visual and styling purposes, like a column layout).
    This is of course no problem, and it will work fine, but it is not necessarly the optimal case, and it's against recommendations for modern webdesign, which say that tables should not be used for such visual/styling purposes, but to display tabular data only.

    Therefore, for most of your pages that use a TablePress table, you might want to consider a plugin like http://wordpress.org/extend/plugins/grid-columns/ which gives you a mechanism to follow that modern webdesign approach for creating a multi column layout.

    Regards,
    Tobias

  4. johnllarkin
    Member
    Posted 1 year ago #

    Thank you Tobias for you excellent responses. I shall consider the recommended plug-in and reformat those tables.

    All the best with your studies,

    Best wishes

    John

    PS. I left some excellent feedback for your plug-in. ^_^

  5. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi John,

    sure, no problem! You are very welcome! :-)
    And thanks for the rating, I really appreciate it!

    Best wishes,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic