=== CSV to Search Pro ===
Contributors: ccmshightech
Tags: csv, search, import, export, data
Requires at least: 5.6
Tested up to: 7.1
Requires PHP: 7.2
Requires Plugins: csv-to-search
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Pro add-on for CSV to Search: unlimited rows, up to 8 tabs, multiple CSV files, CSV import from a URL, and results export.

== Description ==

CSV to Search Pro is a paid add-on for the free CSV to Search plugin. It needs the free plugin installed and active, and a Pro license key from your CCMS account.

**With an active license you get:**

* **Unlimited rows** — search the whole CSV file, not just the first rows.
* **Up to 8 filter tabs** — instead of 2.
* **Multiple CSV files** — give each file a source name and show it with `[csv_to_search source="vendors"]`. Several searches can share one page.
* **CSV import from a URL** — download a CSV from a public web address, and refresh it every hour or every day. Great for a spreadsheet published from Google Sheets or an export from another system.
* **Export results** — add `export="yes"` to the shortcode and visitors get an "Export results (CSV)" button that downloads every matching row. Cells that start with a formula character are neutralised so they open safely in Excel and Sheets.

If the license lapses, the site falls back to the free limits (250 rows, 2 tabs, one file). Nothing is deleted.

== Installation ==

1. Install and activate the free **CSV to Search** plugin.
2. Upload and activate **CSV to Search Pro**.
3. Go to **CSV to Search → Pro License**, paste your license key and click **Activate License**.
4. Use the new **Files & Import** tab to add more CSV files.

== External services ==

This plugin contacts the CCMS licensing service to check your Pro subscription.

**License check.** When you click Activate License, and about once an hour afterwards while a key is saved, the plugin sends your license key and your site's address (`home_url()`) to `https://account.ccmssolutions.com/api/plugin-status`. Nothing else is sent, and nothing is sent if no key is saved.

**CSV import from a URL.** If you enter an import URL, the plugin downloads that address from your own server when you save, click Import now, or when a scheduled refresh runs. Only public http and https addresses are allowed.

Service provider: Complete Content Management Services — https://www.ccmssolutions.com/
Terms of service: https://www.ccmssolutions.com/terms/
Privacy policy: https://www.ccmssolutions.com/privacy-policy/

== Frequently Asked Questions ==

= What happens if my subscription ends? =

Pro features switch off and the site returns to the free limits. Your settings and files stay in place, so reactivating restores everything.

= What if the licensing server is unreachable? =

The last successful answer keeps Pro working for up to 3 days.

= Where are my CSV files stored? =

In a private folder, `wp-content/uploads/cts-data/`, with random file names. They are not in the media library, and this includes files imported from a URL. See the CSV to Search readme for an NGINX rule that blocks the folder completely.

= How do I show a second CSV file? =

Open Files & Import, add a source with a name such as `vendors`, upload a CSV or give it a URL, then use `[csv_to_search source="vendors"]` on any page.

== Changelog ==

= 1.0.0 =
* Initial release: unlimited rows, 8 tabs, multiple CSV files, URL import with scheduled refresh, and results export.
