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!
Note that this plugin will have no effect on tables when the screen width is above the mobile breakpoint specified in the CSS.
- Modifies tables to display nicely on mobile devices using the jQuery Stacktable plugin from John Polacek.
- Select the specific pages you want the script to be enqueued on. It will be applied to all tables on those pages.
- Can disable the built-in CSS so that you can queue up your own CSS styles and set your own mobile breakpoint
No screenshots provided