TablePress

Description

TablePress 使您能够简便地创建和管理漂亮的表格。您可以使用短代码将表格显示在文章、页面或者小工具中。表格可以通过常用的电子表格软件编辑,所以不需要编程。表格中可以包含各种类型的数据,甚至支持公式计算。TablePress 使用额外的 JavaScript 库来为网站访客提供诸如排序、分页、过滤等其它功能。表格可以通过 Excel、CSV、HTML 和 JSON 等文件格式导入或导出。

更多信息

Please visit the plugin website at tablepress.org for more information or a demo. For latest news, follow @TablePress on Twitter.

捐助以支持开发

如果您喜欢 TablePress,请在 WordPress 插件目录中为 TablePress 打分并写下您的评论,或者捐助以支持 TablePress 的开发。谢谢您!

TablePress 扩展

附加功能以及一些有用的功能增强会通过额外的插件来提供,也就是 TablePress 扩展,可以通过插件网站获取。

用法

After installing the plugin, you can create and manage tables on the “TablePress” screen in the WordPress Dashboard.

To show one of your tables in a post or on a page, embed the Shortcode [table id=<the-ID> /] into a “Shortcode” block at the desired place in the block editor. Each table has a unique ID that needs to be adjusted in that Shortcode.

然后,您可能希望改变表格的样式。您可以通过在“插件选项”页面的“自定义 CSS”文本框中输入 CSS 代码来实现。一些常见样式修改的例子可以在 TablePress FAQ 页面找到。
您还可以在表格的“编辑”页面勾选相应的复选框来添加诸如排序、分页、过滤、交替行背景色、高亮行、显示表格名称和/或表格描述等功能。

鸣谢

特别感谢 Allan Jardine 开发的 DataTables JavaScript 库
感谢语言文件的所有译者!
感谢每一位赞助人、支持者和问题报告者!

授权

本插件是免费软件,按照 GPL 版本 2 (http://www.gnu.org/licenses/gpl-2.0.html) 协议发布和授权。
您可出于任意目的免费使用该软件。

Screenshots

  • “所有表格”页面
  • “编辑”页面
  • “新增”页面
  • “导入”页面
  • “导出”页面
  • “插件选项”页面
  • “关于”页面
  • 表格示例(请到 TablePress 网站查看)

Installation

The easiest way to install TablePress is via your WordPress Dashboard. Go to the “Plugins” screen, click “Add New”, and search for “TablePress” in the WordPress Plugin Directory. Then, click “Install Now” and wait a moment. Finally, click “Activate” and start using the plugin!

手工安装方法与其它的 WordPress 插件的安装方法一样:

  1. 下载 并解压缩该 ZIP 文件。
  2. Move the folder “tablepress” to the “wp-content/plugins/” directory of your WordPress installation, e.g. via FTP.
  3. 通过您的 WordPress 仪表盘的“插件”页面激活“TablePress”插件。
  4. 到管理菜单的“TablePress”页面创建和管理表格。
  5. To insert a table into a post or page, copy its Shortcode [table id=<ID> /] and paste it into a “Shortcode” block at the desired place in the block editor. Each table has a unique ID that needs to be adjusted in that Shortcode.
  6. 如果要改变表格的显示样式,可以在“插件选项”页面的“自定义 CSS”文本框中直接输入您的 CSS 样式代码并保存。

FAQ

哪里能找到常见问题的答案?

很多问题,关于不同功能或者样式,已经在该插件网站的 FAQ 页面 上有了解答。

支持?

有关支持问题、错误报告,或者需要加入新功能,请使用 WordPress 支持论坛。请先在论坛中搜索,找不到相关回答后再发布新帖。谢谢!

需求?

In short: WordPress 5.3 or higher, while the latest version of WordPress is always recommended.

语言和本地化?

TablePress uses the “Translate WordPress” platform. Please see the sidebar on the TablePress page in the WordPress Plugin Directory for available translations.

To make TablePress available in your language, go to the TablePress translations page, log in with a free wordpress.org account and start translating.

从 WP-Table Reloaded 迁移

Several years ago, TablePress has superseded the now discontinued WP-Table Reloaded plugin. If you are still using that, please see the migration guide and switch to TablePress.

开发

您可以通过插件的官方GitHub 仓库获取更及时的开发信息。

在哪里可以获取更多信息?

请访问插件官方网站 获取该插件的最新信息,或者在 Twitter 上关注 @TablePress

Reviews

2019年12月10日
Like the title says. Very powerful plugin, but be prepared for finnicking through writing lots and lots of additional css lines for any customisation, cause there is no wysiwyg visual editor when creating tables, so be advised.
2019年12月4日
I've been using this plugin on many sites for a lot of years. It does just what it should.. and after I found the list of extensions.. I'm even happier!
2019年12月4日
I have tested the plugin with its extension for responsive tables and it works out of the box, very useful if you need to embed tables in your posts. I also appreciate the donation base system, you get a chance to fully test all the pro extensions and donate if you are satisfied to support the developer. Recommended!
2019年12月3日
You have to manually insert a formula for this necessary function in EACH cell. And then you can't use that data for column totals or anything else because they are strings. It needs a spreadsheet type implementation so the data can be worked with but displayed with the thousands separator. Worthless for those of us who want the user to have a good experience.
2019年12月2日
Hope it never goes out of style. Using it on genesis framework with zero issues. Went for the premium responsive add on and haven't regretted it at all. Dev is the most active I've encountered on WP and has helped resolve several issues with sub-24hr turnover on the plugin support forum. Easy recommendation for anyone needing a dynamic table plugin.
Read all 3,663 reviews

Contributors & Developers

“TablePress” is open source software. The following people have contributed to this plugin.

Contributors

“TablePress” has been translated into 34 locales. Thank you to the translators for their contributions.

Translate “TablePress” into your language.

Interested in development?

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

Changelog

Recent changes are shown below. For earlier changes, please see the changelog history.

Version 1.10

  • Full compatibility with WordPress 5.3
  • Enhancement: Allow importing with replacing/appending existing tables with ZIP archives of JSON files.
  • Enhancement: Greatly enhance the code quality by removing old code and using modern features of PHP.
  • Enhancement: Flush the caches of more caching plugins when the “Custom CSS” was modified.
  • Enhancement: Update list of allowed CSS features in “Custom CSS”.
  • Enhancement: Add more math formulas to the formula parser.
  • Bugfix: Restore correct behavior when moving columns on the “Edit” screen.
  • Bugfix: Properly hide text that is intended for screen readers only.
  • 更新了外部库(DataTables、SimpleXLSX、CSSTidy、构建工具)。
  • 一些内部改变以提供更好的稳定性、安全性、翻译和文档。
  • Removed the migration/import code for the discontinued WP-Table Reloaded plugin.
  • TablePress 1.10 requires WordPress 5.3!

Version 1.9.2

  • 兼容 WordPress 5.1。
  • 增强:改进保存操作使之在面对数据损坏的情形时更加健壮。
  • 关于 CSS 的小的内部更新和修正文档中的文字错误。