=== Newfolder Flashsale Banner with Counter ===
Contributors: newfolder, dekkeng
Tags: flash sale, countdown, timer, banner, woocommerce
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 1.0.13
Requires PHP: 7.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A plugin to create a customizable Flash Sale Banner with a Countdown Timer for PC and Mobile. Supports Floating and Bottom Bar CTA buttons.

== Description ==

Newfolder Flashsale Banner with Counter is a plugin for displaying Flash Sale or campaign banners. It features a countdown timer positioned at the bottom edge of the screen and Call-To-Action (CTA) buttons that support click-to-chat via LINE, Facebook Messenger, or phone.

**Features:**
* **100% Responsive:** Separate image uploads and positioning for PC and Mobile.
* **Drag & Drop Preview:** The admin management page comes with a drag-and-drop live preview to accurately arrange countdown numbers on the banner.
* **Customizable Styles:** Set colors, font sizes, number borders, and display options independently for PC and Mobile devices.
* **Floating & Bottom CTAs:** Supports floating CTA buttons and full-width bottom bar buttons.
* **Native Icon Support:** Built-in icons (LINE, Messenger, Facebook, Phone, Cart) or upload your own.
* **Auto Loop Timer:** Automatic countdown timer reset based on specified hours.

This plugin is developed by the [Newfolder](https://newfolder.co.th) team.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/newfolder-flashsale-banner-with-counter` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Use the `Newfolder Flashsale Banner with Counter` menu to add your first Flash Sale banner.

== Frequently Asked Questions ==

= Banner is not showing on the website? =
Ensure that the status is set to "Active" and you have selected the correct "Target Pages" to display it on.

= Image is cropped on mobile? =
We recommend uploading a portrait or square image specifically for the "Mobile Image" field to fit mobile screens properly.

== Screenshots ==

1. screenshot-1.jpg
2. screenshot-2.jpg

== Changelog ==

= 1.0.13 =
* Fixed: Properly escape all CSS output variables for security (late escaping).
* Fixed: Wrap all user-facing strings with i18n functions for translation readiness.
* Fixed: Removed SVN assets from plugin distribution zip.
* Updated: Tested up to WordPress 7.0.

= 1.0.12 =
* Separate color, background, number size, and spacing settings independently for PC and Mobile.
* Changed icons to Native SVG for better performance and to reduce conflicts with FontAwesome.
* Added `target="_blank"` for all links.
* Added CTA button animations for a more natural and elegant look.

= 1.0.10 =
* Added Drag & Drop function in Live Preview.
* Added floating button customization.
* Added Bottom CTAs.
