=== Vourno Coupons ===
Contributors: jhon990
Tags: coupon, coupon code, deals, discount, promo code
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Manage and display coupon codes and discount deals on your site, with expiry tracking, copy-to-clipboard buttons, and usage stats.

== Description ==

Vourno Coupons lets you run a <a href="https://pandaexpresscoupon.com/">pandaexpresscoupon</a> and deals site (or add a deals section to any existing site) without touching code.

**Core features:**

* Dedicated "Coupons" custom post type — add a coupon like you'd add a post.
* Fields for code, discount text, minimum order, expiry date, status (Active / Check App / Expired), and redemption link.
* `[vrnc_list]` shortcode with table or card layout, filterable by store taxonomy and status.
* `[vrnc_code id="123"]` shortcode to embed a single coupon inline in any post.
* One-click "Copy Code" button with clipboard support and a fallback for older browsers.
* Built-in AJAX usage tracking — see how many times each coupon was copied.
* Optional daily auto-expiry: coupons past their expiry date are automatically marked "Expired".
* Sidebar widget to show your top active coupons.
* Store/brand taxonomy so you can group coupons (e.g. by restaurant, retailer, or category).
* Configurable disclaimer text shown under every coupon list, encouraging users to verify at checkout.
* Translation-ready, uses WordPress core styling conventions, and sanitizes/escapes all input and output.

**Example usage:**

`[vrnc_list]`
`[vrnc_list layout="cards" count="6"]`
`[vrnc_list store="my-brand" status="active"]`
`[vrnc_code id="42"]`

== Installation ==

1. Upload the `vourno-coupons` folder to `/wp-content/plugins/`, or install directly through the WordPress Plugins screen.
2. Activate the plugin through the "Plugins" menu in WordPress.
3. Go to **Coupons > Add New** to create your first coupon.
4. Go to **Coupons > Settings** to configure auto-expiry and the disclaimer text.
5. Add `[vrnc_list]` to any page or post to display your coupons.

== Frequently Asked Questions ==

= Does this plugin store any codes from third-party websites automatically? =

No. You manually add every coupon through the WordPress admin. The plugin does not scrape or pull codes from external sites.

= Can I group coupons by store or brand? =

Yes, use the built-in "Store" taxonomy under Coupons.

= Does it work with page builders? =

Yes, the shortcodes work inside any shortcode-compatible block, widget, or page builder module.

== Screenshots ==

1. Coupon list rendered with the table layout.
2. Coupon list rendered with the card layout.
3. Add/Edit coupon screen with the Coupon Details metabox.
4. Plugin settings page.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
