Linux 软件免费装
Banner图

BaraTables

开发者 nathannoom
更新时间 2026年10月3日 13:39
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode tables csv charts datatables

下载

1.3.0 1.2.3 1.1.0 1.1.1 1.0.0 1.2.0 1.2.1 1.0.1 1.2.2 1.2.5 1.2.4 1.3.1 1.3.2 1.4.0

详情介绍:

BaraTables builds interactive tables and charts from manual rows, CSV uploads, public remote snapshots, WordPress content, or an external MySQL/MariaDB database, then publishes them with a shortcode or a block. Import a JSON, XML, HTML, CSV, TXT, XLSX, ODS, or ZIP export from another table plugin or spreadsheet to rebuild a table. Tables can include search, sorting, pagination, filters, export buttons, responsive stacking, and column visibility controls. Charts draw from any BaraTables table and embed with their own shortcode. Features:

安装:

  1. Upload the baratables folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Tables in the admin menu and create your first table.
  4. Use the shortcode [bara_table id="your-table-slug"] to embed it.

屏幕截图:

  • Frontend table with search, filters, CSV, Excel, and PDF export, column visibility, sorting, and pagination.
  • The Options tab: table settings, control toggles, layout builder, styling, and export buttons.
  • Chart builder and chart-type gallery with all supported chart types.
  • Responsive table on a phone: collapsed columns expand into a stacked row.

升级注意事项:

1.4.0 Adds workbook imports, remote snapshots, fixed headers and columns, numeric rules and footers, and bounded database paging. Exports now neutralize spreadsheet formulas. 1.3.2 Makes table preview refreshes reliable and clarifies which options have additional settings. 1.3.1 Fixes search after column reordering, remembered searches, and meta columns dropped on save. Developers: PHP methods deprecated in 1.2.5 are removed. 1.3.0 New table and chart blocks, responsive stacking on small screens, PDF export, theme-matched colors with a custom accent, and faster table pages without jQuery. Fixes day-first dates, decimal-comma chart values, and silent external database edits. 1.2.5 Broader and more accurate table imports, faster tables and chart-only pages, reliable saves, clear load errors, PHP 7.4 compatibility, and secure import validation. 1.2.4 Adds radar, heatmap, and treemap charts. 1.2.3 Security fixes: password-protected post content and post passwords could be displayed in a table. Also fixes date sorting, sticky posts, and Media tables. 1.2.2 Includes a security fix for the table editor. Fixes category and tag filtering, Advanced Custom Fields columns, and settings lost when editing an external database connection. If you use row-level access control, open and re-save those tables: some show no rows until you do. 1.2.1 Adds Excel export, five new chart types, saved table state, and scrolling and row-limit controls. 1.1.1 "Format as date" works on every data source, front-end controls follow the site language, and shortcodes without an id no longer error on older WordPress. Includes a security fix for the table editor. 1.1.0 Import tables from other plugins or spreadsheets, rename Table and Chart IDs, reorder manual rows, and use translation-ready headers. Includes fixes and security hardening. 1.0.1 Maintenance release with improved date formatting controls and safer frontend output. 1.0.0 Initial release.

常见问题:

What data sources are supported?

CSV files, manual data entry, WordPress content, external MySQL/MariaDB databases, and stored snapshots from public CSV, JSON-record, or Google Sheets URLs. Remote snapshots are manual and administrator-only. Save the public HTTPS URL and format, then click Fetch snapshot. Published tables and charts use the last stored snapshot and never contact the source. CSV and Google Sheets endpoints must return text/csv or application/csv; text/plain downloads are rejected. Authentication, private Sheets, scheduled refresh, and schema-changing refreshes are not supported; create a new table when remote column headings change.

Which table plugin exports can I import?

Use a TablePress single-table JSON export. Ninja Tables classic and drag-and-drop JSON exports work; export an externally connected Ninja table as CSV. WP Table Builder XML or CSV, Visualizer CSV, Supsystic JSON or CSV, League Table XML, and wpDataTables or Tablesome data-only CSV also import, as do HTML tables. A ZIP imports the first supported table and reports how many were found. Imports rebuild table data and compatible display settings, not plugin-specific styling, formulas, macros, shortcodes, charts, or external data connections. XLSX and ODS formulas use cached results and are never executed; save legacy XLS or encrypted workbooks as XLSX, ODS, or CSV first. Uploads and pasted imports can be up to 5 MB. A ZIP can hold 50 entries of up to 5 MB each, and up to 20 MB expanded.

How many rows can a table load?

Each table loads up to 1,000 rows by default. The Options tab sets a limit from 1 to 10,000 rows on every data source. External MySQL/MariaDB tables can instead opt into large database performance mode. It loads at most 100 rows per request and lets the database page, sort, and literally search within your Rows to load limit of at most 100,000 addressable results. It requires selected columns, pagination, and a non-null single-column primary or unique key. Row access rules, value/date transforms, filter controls, footer calculations, exports, print, and charts keep standard loading, preserving their meaning. Database search follows the source collation, which controls case and accent matching.

Can I link to a filtered view of a table?

Yes. Filtering or searching updates the page address, so you can share that exact view, or build the link yourself with btbl_filter[column-slug], btbl_search, and btbl_search_cols.

How do I add a chart?

Create a table first, then go to Charts and create a new chart linked to that table. Use [bara_chart id="your-chart-slug"] to embed it.

Can I customize the table appearance?

Yes. The Options tab provides controls for striping, hover, borders, compact mode, pagination style, button labels, search text, and info display; layout zones control where controls appear.

How do numeric rules and footer calculations work?

Choose Number in a column's settings. Plain decimals such as -12.5 participate in numeric sorting, conditional styles, and footer calculations. Currency symbols, percentages, grouping separators, words, blank cells, and out-of-range values stay visible but are excluded. Footers calculate every loaded row matching the current search and filters, not only the current page; rows beyond the table's row limit and exports are excluded.

Can I style BaraTables with custom CSS?

Yes. BaraTables ships minimal frontend styles so your theme stays in control; adjust colors, spacing, typography, and buttons with your theme, the Site Editor, or custom CSS.

Where can I see examples?

Visit https://ktisisweb.com/baratables/ for screenshots, feature notes, and styling guidance, or try the Live Preview demo on WordPress.org.

更新日志:

1.4.0 New: Fixes: Security: 1.3.2 1.3.1 Fixes: Developer: 1.3.0 New: Improvements: Fixes: 1.2.5 New: Improvements: Fixes: Security: 1.2.4 1.2.3 Improvements: Security: Fixes: 1.2.2 New: Fixes: Improvements: Security: 1.2.1 1.1.1 Fixes: Security: 1.1.0 New: Improvements: Fixes: Security: 1.0.1 1.0.0