A super easy way to automatically re-layout a table when the user changes the window size.
As of April 2026, Table Auto-Layout is a WordPress shortcode plugin with 10 active installations and a 0/5 rating0. It has been downloaded 3.9K+ times in total. Requires WordPress 3.8+ and PHP false+. Available on WordPress.org since 2014. Last updated 12 years ago — may have compatibility concerns. Top alternative: WP Shortcodes Plugin — Shortcodes….
Table Auto-Layout allows site owners to automatically cause a table (or a list of selected tables) to be regenerated to best fit its container when the window is resized. This plugin uses a jQuery plugin to add a window resize event handler which selects a list of tables, measures their parent containers and replaces the existing tbody with a new set of rows and columns where the number of cells per row is determined by the parent container width divided by the desired cell (column) width.
Note: Because new rows may be generated and old rows may be combined by this process, the attributes of tags are lost.
A done function can be specified that can be used to repopulate row attributes (or whatever) on completion.
The last row of a table may either be filled out with blank cells or left pa…
| WordPress | 3.8+ requiredTested up to 3.7.41 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.