WordPress plugin intelligence profile

SSP Stacktable Tables

Reformat wide tables for mobile devices using the jQuery Stacktable plugin from John Polacek.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.7
Current version1.0.2
WordPress coverageTested up to WordPress 6.7
Minimum stackWP 3.3 · PHP 7.4
Directory statusactive
Last directory update4 Dec 20241y ago
Active installations50Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 3 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records SSP Stacktable Tables version 1.0.2 as active, updated 1y ago and tested up to WordPress 6.7.

Overview

About this plugin

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

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

js/

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

All this WordPress plugin does is enqueue 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.

0 adds the ability to use a shortcode on any page to queue up the script. You can specify a type and class attribute, as well as head index and show header attributes.

The “type” attribute can one of the 3 display types: stacktable, cardtable, stackcolumns. Default view is stacktable.

The “class” attribute allows you to specify a class for the wrapper div around the mobile view so you can further tweak the CSS more easily.

The “headindex” attribute allows you to specify the header row index (starting from 0), in case your header row is not the first row of the table.

The “showheader” attribute can have values of “yes” or “no”, with “yes” being the default. This is used to specify if you want to show the headers when using the default stacktable display type (not used for the other 2 display types).

The shortcode to use with default options is simply: [stacktable]

Full Shortcode example: [stacktable type="cardtable" class="myClass" headindex="0" showheader="yes"]

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

Features:

  • 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.
  • Alternately, in version 1.0.0, you can use the ‘stacktable’ shortcode on any page to queue up the stacktable script on that specific page as well as specify which of the 3 display options you want to use: stacktable (default), cardtable, stackcolumns
  • Can disable the built-in CSS so that you can queue up your own CSS styles and set your own mobile breakpoint

Additional Info

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

js/

org/plugins/pta-volunteer-sign-up-sheets/, but made it generic enough that it could be used for any tables on a WordPress site. org release I added an admin settings page to allow you to choose the pages the Stacktable script is enqueued on, and to allow you to disable the sample built-in CSS for the mobile view of the tables (as well as the mobile breakpoint).

Since I did NOT have anything to do with the main jQuery Stacktable plugin that provides the majority of the display functionality, I will not be able to provide support for any issues you have with the script.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • responsive tables
  • mobile
  • stacktable
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.7

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.7.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.7
Minimum requirementsWordPress 3.3 · PHP 7.4
Update activity4 Dec 20241y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.