﻿=== CoderCreation Table Builder for Elementor ===
Contributors: sharifok
Tags: elementor table, table builder, csv to table, data table, search table
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires Plugins: elementor

Upload a CSV file and display it as a styled, searchable, paginated data table inside any Elementor page — no coding required.

== Description ==

CoderCreation Table Builder for Elementor lets you upload a CSV file and display it as a fully styled, interactive data table inside any Elementor page or post.

Upload your CSV file and the table is built automatically from your data.

= Key Features =

* **CSV upload** — upload any CSV file via the Elementor media library (up to 5 MB)
* **Table and List views** — display data as a classic HTML table or an unordered list
* **Live search** — instant full-table keyword search with animated search/clear icons
* **Numbered pagination** — First, Previous, numbered pages, Next, Last with full style controls
* **Mobile responsive** — choose between horizontal scroll or stacked cards layout with a configurable breakpoint
* **Full typography controls** — heading, description, header row, and body cells
* **Colour controls** — header, body, stripe, hover, and pagination colours
* **Border and radius controls** — table, cell, search field, and pagination buttons
* **Spacing controls** — padding and margin for every element
* **Striped rows and row hover colour**
* **Image detection** — cells containing image URLs are rendered as `<img>` tags automatically
* **Clean code** — proper escaping, sanitisation, and nonce verification throughout

= Perfect for =

* Product catalogues and price lists
* Staff or member directories
* Event schedules and timetables
* Financial or statistical data
* Any structured data you manage in a spreadsheet

= Requirements =

* WordPress 5.0 or higher
* Elementor (free) 3.0.0 or higher
* PHP 7.4 or higher

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate the plugin through the **Plugins** menu in WordPress
3. Edit any page or post with Elementor
4. Search for **CSV Upload & Display** in the widget panel under the **CoderCreation Table** category
5. Drag the widget onto the canvas, upload your CSV file, and publish

== Frequently Asked Questions ==

= How do I add a table to Elementor with this plugin? =

Drag the CSV Upload & Display widget onto your Elementor canvas, upload a CSV file, and your table appears instantly.

= Does this plugin require Elementor Pro? =

No. It works with the free version of Elementor.

= What is the maximum CSV file size? =

5 MB by default.

= How many rows can the table display? =

The plugin can handle CSV files of any size, limited only by the file size limit (5 MB) and your server's PHP memory settings.

= What format should my CSV file be in? =

Standard comma-separated values (CSV). The first row is treated as the table header.

= Can I display images in the table? =

Yes. If a cell contains a valid image URL (jpg, jpeg, png, gif, webp, svg, bmp), it will be rendered as an image automatically.

= Does it work on mobile? =

Yes. You can choose between horizontal scroll and stacked cards layout, with a configurable breakpoint.

= Can I style the table to match my theme? =

Yes. The Style tab in Elementor gives you full control over typography, colours, borders, spacing, and more for every part of the table.

== Screenshots ==

1. CSV Upload & Display widget in the Elementor editor
2. Live search and pagination on the frontend
3. Style controls — typography, colours, borders, and spacing
4. Mobile stacked cards layout

== Changelog ==

= 1.0.1 =
* Fixed: Removed all row limits - plugin now handles CSV files of any size (within file size limit)
* Fixed: Improved file path handling to work correctly with custom WordPress setups
* Improved: Enhanced compatibility with WordPress.org guidelines

= 1.0.0 =
* Initial release
* CSV Upload & Display widget with search, pagination, and responsive mobile layouts
* Full Elementor style controls: typography, colours, borders, spacing

== Upgrade Notice ==

= 1.0.1 =
WordPress.org compliance update. Improved file handling and removed row limits.

= 1.0.0 =
Initial release. No upgrade steps required.
