=== ZenTables — Embed Live Data Tables ===
Contributors: zentables, balminbingham
Tags: google sheets, embed table, airtable, notion, responsive table
Requires at least: 5.0
Tested up to: 7.1
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed live, styled, searchable tables from Google Sheets, Airtable, and Notion on any WordPress site. No code required.

== Description ==

**ZenTables** connects to your Google Sheet, Airtable base, or Notion database and generates a beautifully styled, responsive, searchable table — embedded on any WordPress page or post with a single shortcode.

**No developer needed. No raw spreadsheet UI. Just a clean, live table that matches your site.**

= How It Works =

1. Connect your Google Sheet (or Airtable / Notion) at [zen-tables.com](https://zen-tables.com)
2. Style your table — colors, fonts, headers — to match your site
3. Copy your embed ID from your ZenTables dashboard
4. Paste the shortcode on any page: `[zentables id="zt_xxxx"]`
5. Done. The table updates automatically whenever your data changes.

= Why ZenTables =

* **No raw spreadsheet UI** — Raw Google Sheet embeds show grid lines, formula bars, and column letters. ZenTables renders a styled, professional table.
* **Auto-sync** — Edit your Sheet, the site table updates instantly. No re-publishing required.
* **Mobile-friendly** — Fully responsive. Looks great on any device.
* **Search and filter** — Pro plan adds a search bar and column filter dropdowns so visitors can find what they need.
* **Matches your brand** — Full control over colors, fonts, and headers.
* **Works everywhere** — Google Sheets, Airtable, and Notion all supported.

= Shortcode Usage =

Basic embed:
`[zentables id="zt_xxxx"]`

With custom width:
`[zentables id="zt_xxxx" width="80%"]`

Find your embed ID in your ZenTables dashboard after connecting your data source.

= Use Cases =

* **Agency client directories** — Let clients update a Google Sheet; the website directory updates itself
* **Pricing tables** — Non-technical staff update pricing in Sheets, site reflects it immediately
* **Job boards** — HR posts new roles in a spreadsheet, job board updates live
* **Event listings and schedules** — Keep schedules current without touching WordPress
* **Product catalogs** — Manage inventory in Airtable, display it on your site
* **Team directories** — Notion database displayed as a searchable staff directory

= Free Plan =

Free plan includes up to 3 live tables. No credit card required.

= Pro Plan =

Pro adds: unlimited tables, search bar, column filter dropdowns, custom domain, priority support, and more. See [zen-tables.com/pricing](https://zen-tables.com/pricing) for details.

== Installation ==

1. Upload the `zentables` folder to `/wp-content/plugins/zentables/`
   — OR — search "ZenTables" in the WordPress plugin directory and click Install
2. Activate the plugin through the **Plugins** menu in WordPress
3. Go to [zen-tables.com](https://zen-tables.com) and create a free account
4. Connect your Google Sheet, Airtable base, or Notion database
5. Copy your embed ID (looks like `zt_abc123`) from your dashboard
6. Add the shortcode to any page or post: `[zentables id="zt_abc123"]`

That's it. Your table is live.

== External Services ==

This plugin connects to the ZenTables service (zen-tables.com) to display your embedded table data.

**What it does:** When a visitor loads a page containing a ZenTables shortcode, this plugin loads the ZenTables embed script from `cdn.zen-tables.com/embed.js`. That script then renders the table by fetching your table's data from the ZenTables servers using your embed ID.

**What data is sent:** The embed ID you provided in the shortcode (e.g. `zt_abc123`) is sent to ZenTables servers to identify and retrieve the correct table. No visitor personal data is collected or transmitted by this plugin.

**When it is sent:** Only when a page containing a `[zentables]` shortcode is loaded by a visitor.

**Service provider:** ZenTables (zen-tables.com)

* Terms of Service: [https://zen-tables.com/terms-of-service](https://zen-tables.com/terms-of-service)
* Privacy Policy: [https://zen-tables.com/privacy-policy](https://zen-tables.com/privacy-policy)

== Frequently Asked Questions ==

= Where do I find my embed ID? =

Log into your dashboard at [zen-tables.com](https://zen-tables.com). After connecting a data source and styling your table, click **Get Embed Code**. Your embed ID starts with `zt_` and looks like `zt_abc123`.

= Does the table update automatically? =

Yes. Edit your Google Sheet, Airtable base, or Notion database and the embedded table reflects the change automatically. No re-publishing in WordPress required.

= Does the free plan cost anything? =

No. The free plan supports up to 3 live tables with no credit card required.

= Will it work with my page builder? =

Yes. The shortcode works in the classic editor, Gutenberg block editor, Elementor, Divi, WPBakery, and any page builder that supports shortcodes or HTML.

= Can I embed multiple tables on the same page? =

Yes. Use a separate shortcode for each table with its own embed ID.

= Is the table mobile-responsive? =

Yes. ZenTables tables are fully responsive and display correctly on all screen sizes.

= What data sources are supported? =

Google Sheets, Airtable, and Notion. More integrations are on the roadmap.

= Do I need to know code? =

No. The shortcode is all you need. No PHP, JavaScript, or CSS required.

= Where can I get support? =

Email [hello@zen-tables.com](mailto:hello@zen-tables.com) or visit the full integration guide at [zen-tables.com/integrations](https://zen-tables.com/integrations).

== Screenshots ==

1. A ZenTables table embedded on a WordPress page — styled, searchable, and mobile-friendly
2. The ZenTables dashboard — connect a Google Sheet and style your table in minutes
3. The shortcode in the Gutenberg block editor
4. Search and column filter dropdowns (Pro plan)

== Changelog ==

= 1.0.0 =
* Initial release
* [zentables id="zt_xxxx"] shortcode
* Auto-enqueue of ZenTables embed script
* Settings page under Settings > ZenTables
* Support for Google Sheets, Airtable, and Notion

== Upgrade Notice ==

= 1.0.0 =
Initial release. Install and start embedding live tables with a single shortcode.
