Title: WP Get The Table
Author: jonsisk
Published: <strong>2017 年 1 月 11 日</strong>
Last modified: 2025 年 7 月 25 日

---

搜索插件

![](https://ps.w.org/wp-get-the-table/assets/banner-772x250.jpg?rev=1575975)

![](https://ps.w.org/wp-get-the-table/assets/icon-256x256.png?rev=1575975)

# WP Get The Table

 作者：[jonsisk](https://profiles.wordpress.org/jonsisk/)

[下载](https://downloads.wordpress.org/plugin/wp-get-the-table.1.6.1.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-get-the-table/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-get-the-table/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-get-the-table/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-get-the-table/#developers)

 [支持](https://wordpress.org/support/plugin/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="http://www.itjon.com/getthetable" id="getthetable" mobile="600"] - This will grab the sample table off the plugin page, with mobile version <600px width>
    [getthetable url="http://www.itjon.com/getthetable" id="getthetable" mobile="600" tablesorter] - The tablesorter argument adds the tablesorter js and css from cdn.ucb.org.br and applies it to your table
    ```

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP Get The Table」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ jonsisk ](https://profiles.wordpress.org/jonsisk/)

[帮助将「WP Get The Table」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-get-the-table)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-get-the-table/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wp-get-the-table/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-get-the-table/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-get-the-table/)。

## 更新日志

#### 1.6.1

 * Updates to readme.txt

#### 1.6

 * Security fix: Patched a Stored XSS vulnerability in `url` parameter by improving
   sanitization and escaping.

#### 1.5

 * 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.

#### 1.4

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

#### 1.3.1

 * Styled debug output

#### 1.3

 * Added debug mode

#### 1.2

 * Added tablesorter js and css to plugin codebase

#### 1.1

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

#### 1.0

 * Initial Release

## 额外信息

 *  版本 **1.6.1**
 *  最后更新：**11 月前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-get-the-table/)
 * 标签
 * [html](https://cn.wordpress.org/plugins/tags/html/)[table](https://cn.wordpress.org/plugins/tags/table/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-get-the-table/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wp-get-the-table/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-get-the-table/reviews/)

## 贡献者

 *   [ jonsisk ](https://profiles.wordpress.org/jonsisk/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-get-the-table/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.chalkbeat.org/donate)