This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Get The Table


A plugin that lets you grab an HTML table from a URL by ID or Class, and echo it out onto a page via shortcode. Use your own stylesheets and responsiveness with on-page table elements rather than ugly iframe embeds of offsite data.

Arbitrary section


Upload and activate the plugin to enable the shortcode.

Shortcode usage:

-- Parameters --

url=""      URL to scrape table from
id=""       ID of table to scrape
class=""    Class of table to scrape (will scrape first table on the page with matching class)
mobile=""   Mobile version breakpoint
tablesorter Enable the tablesorter javascript

-- Examples --

[getthetable url="" id=""] - Basic Format
[getthetable url="" id="getthetable" mobile="600"] - This will grab the sample table off the plugin page, with mobile version <600px width>
[getthetable url="" id="getthetable" mobile="600" tablesorter] - The tablesorter argument adds the tablesorter js and css from and applies it to your table


There are no reviews for this plugin.

Contributors & Developers

“WP Get The Table” is open source software. The following people have contributed to this plugin.


Translate “WP Get The Table” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Added option to grab table by Class or just the first table at the URL if neither ID nor Class is specified. If both ID and Class are specified, only ID will be used. Also if neither is specified and the tablesorter option is used, it will apply to all tables on the output page.


  • Added tablesorter images, moved css to function and js to own directoriy, added stacktable js for mobile and mobile breakpoint option


  • Styled debug output


  • Added debug mode


  • Added tablesorter js and css to plugin codebase


  • Added verification and error handling for bad URL/ID and tablesorter option


  • Initial Release