SSP Stacktable Tables

This plugin is now hosted at here:

This is a fairly simple plugin that will collapse tables that are too wide for mobile screens into a simple “stacked” view.

The main functionality of this plugin is provided by the jQuery Stacktable plugin from John Polacek, which you can view here:

I take no credit for the jQuery Stacktable plugin. That’s all John!

All this WordPress plugin does is queue up the Stacktable script on the pages you specify in the settings, and then uses a very small piece of javascript to apply the Stacktable script to ALL tables on the pages you select. You can also disable the built-in sample CSS, so that you can put your own CSS for Stacktable in your theme in order to specify your own mobile breakpoint and any other modifications you wish to make.

Note that this plugin will have no effect on tables when the screen width is above the mobile breakpoint specified in the CSS.

If you only want to target specific tables, or exclude other tables, all you need to do is edit the:
file and make your own jQuery selectors to apply stacktable to.  It’s really just a one line function to call the default options for stacktable.

You must log in and be a buyer of this download to submit a review.