This plugin is now hosted at WordPress.org 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: http://johnpolacek.github.io/stacktable.js/
I take no credit for the jQuery Stacktable plugin. That’s all John!
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.