Title: SSP Stacktable Tables
Author: DBAR Productions
Published: <strong>2017-03-13</strong>
Last modified: 2024-12-04

---

Szukaj wtyczek

![](https://ps.w.org/ssp-stacktable-tables/assets/banner-772x250.jpg?rev=1615304)

![](https://ps.w.org/ssp-stacktable-tables/assets/icon-128x128.jpg?rev=1615304)

# SSP Stacktable Tables

 Autor: [DBAR Productions](https://profiles.wordpress.org/dbar-productions/)

[Pobierz](https://downloads.wordpress.org/plugin/ssp-stacktable-tables.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/ssp-stacktable-tables/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/ssp-stacktable-tables/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/ssp-stacktable-tables/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/ssp-stacktable-tables/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/ssp-stacktable-tables/)

## Opis

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:
 http://johnpolacek.github.io/stacktable.
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.

Version 1.0.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:
 http://johnpolacek.github.io/stacktable.
js/

I created the initial version of this plugin to use for the tables generated by 
my Volunteer Sign Up Sheets plugin: [https://wordpress.org/plugins/pta-volunteer-sign-up-sheets/](https://wordpress.org/plugins/pta-volunteer-sign-up-sheets/),
but made it generic enough that it could be used for any tables on a WordPress site.
For the WordPress.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.

## Instalacja

Extract the zip file and just drop the contents in the wp-content/plugins/ directory
of your WordPress installation and then activate the Plugin from Plugins page.

## Recenzje

![](https://secure.gravatar.com/avatar/f0f5553efa2fd9fd2865693ee69119452ec8c5976cb92d7ae13f1f04d907a0bc?
s=60&d=retro&r=g)

### 󠀁[Very helpfull plugin](https://wordpress.org/support/topic/very-helpfull-plugin-22/)󠁿

 [franmoracr](https://profiles.wordpress.org/franmoracr/) 2020-09-24

Very helpfull plugin

![](https://secure.gravatar.com/avatar/cf1bba1e148f9046d2d427d534dd793729885e1f5391de124f32b525afea337b?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-4265/)󠁿

 [ktcroatiae](https://profiles.wordpress.org/ktcroatiae/) 2017-08-08

Was incredibly hard to find a table plugin to make my tables mobile friendly. So
it was a big relief when this worked on my site. Thanks to the makers!

![](https://secure.gravatar.com/avatar/d533fe75ec7656adc2814d42fa7edb6cfbe874b83bd0f34c01341ace139c48b3?
s=60&d=retro&r=g)

### 󠀁[Does what it says – Thank you!](https://wordpress.org/support/topic/does-what-it-says-thank-you/)󠁿

 [David Borrink](https://profiles.wordpress.org/davidborrink/) 2017-08-06

Our product variations in WooCommerce were not showing up correctly in mobile screens,
getting cut off on the right, rendering our purchase buttons useless for mobile 
buyers. I learned of John Polacek’s script from the IgniteWoo developer of the Variation
List plug-in. But I thought, „Gee, how do I implement this?” Then a search shows
me this plug-in which utilizes the script, PLUS gives an admin panel to choose the
type of page and/or posts to allow the tables to stack. The „all pages and posts”
setting worked on our „products” custom post type, and bingo!… our product listings
now stack in vertical groups in mobile. Problem solved. Now to adjust our CSS slightly
so that the lines on our table rows don’t show up in every single stacked row when
the mobile settings from the script kick in. THANK YOU for creating this plug-in.

 [ Przeczytaj 3 recenzje ](https://wordpress.org/support/plugin/ssp-stacktable-tables/reviews/)

## Kontrybutorzy i deweloperzy

„SSP Stacktable Tables” jest oprogramowaniem open source. Poniższe osoby miały wkład
w rozwój wtyczki.

Zaangażowani

 *   [ DBAR Productions ](https://profiles.wordpress.org/dbar-productions/)

[Przetłumacz wtyczkę “SSP Stacktable Tables” na swój język.](https://translate.wordpress.org/projects/wp-plugins/ssp-stacktable-tables)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/ssp-stacktable-tables/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/ssp-stacktable-tables/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/ssp-stacktable-tables/)
przez [RSS](https://plugins.trac.wordpress.org/log/ssp-stacktable-tables/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

**Version 1.0.2**
 * Added shortcode documentation to the bottom of the admin settings
page (previously referenced, but not included) * Tested with WordPress 6.7.1 and
PHP 8.3.13

**Version 1.0.0**

 * Updated jQuery Stacktable and jQuery Select2 files to latest releases as of September
   18, 2020.
 * Added shortcode to allow queueing up script on specific pages/posts and to specify
   display parameters via shortcodes
 * Added cardtable and stackcolumns display types (in addition to the default stacktable
   display) via shortcode attributes
 * Head Index can be set via a shortcode attribute (if your header is not the first
   row)
 * Whether or not to show headers in the default stacktable view can also be set
   via a shortcode attribute
 * Tested with WordPress 5.5.1

**Version 0.0.4**

 * Used wrong CSS stylesheet for last update. Changed to minimal „example” stylesheet.

**Version 0.0.3**

 * Updated jQuery Stacktable and jQuery Select2 files to latest releases as of October
   19, 2017.

**Version 0.0.2**

 * First release on WordPress.org
 * Adding settings page and functions to enqueue the scripts only on the specified
   pages, as well as to disable built-in CSS

**Version 0.0.1**

 * Initial public release at the Stephen Sherrard Plugins web site at https://stephensherrardplugins.
   com

## Meta

 *  Wersja **1.0.2**
 *  Ostatnia aktualizacja **1 rok temu**
 *  Włączone instalacje **50+**
 *  Wersja WordPressa ** 3.3 lub nowszej **
 *  Testowano do **6.7.5**
 *  Wersja PHP ** 7.4 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/ssp-stacktable-tables/)
 * Tagi
 * [mobile](https://pl.wordpress.org/plugins/tags/mobile/)[responsive](https://pl.wordpress.org/plugins/tags/responsive/)
   [responsive tables](https://pl.wordpress.org/plugins/tags/responsive-tables/)
   [tables](https://pl.wordpress.org/plugins/tags/tables/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/ssp-stacktable-tables/advanced/)

## Oceny

 5 na 5 gwiazdek.

 *  [  3 recenzje 5-gwiazdkowe     ](https://wordpress.org/support/plugin/ssp-stacktable-tables/reviews/?filter=5)
 *  [  0 recenzji 4-gwiazdkowych     ](https://wordpress.org/support/plugin/ssp-stacktable-tables/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/ssp-stacktable-tables/reviews/?filter=3)
 *  [  0 recenzji 2-gwiazdkowych     ](https://wordpress.org/support/plugin/ssp-stacktable-tables/reviews/?filter=2)
 *  [  0 recenzji 1-gwiazdkowych     ](https://wordpress.org/support/plugin/ssp-stacktable-tables/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ssp-stacktable-tables/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/ssp-stacktable-tables/reviews/)

## Zaangażowani

 *   [ DBAR Productions ](https://profiles.wordpress.org/dbar-productions/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/ssp-stacktable-tables/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R4HF689YQ9DEE)