=== AwoSocial ===
Contributors: awoscan
Tags: social-media, banner, holiday, newsletter, marketing
Requires at least: 6.4
Tested up to: 7.2
Requires PHP: 7.4
Stable tag: 2.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate branded 10-language corporate holiday and special-day social media posts (1080x1080), stories (1080x1920), and HTML emails.

== Description ==

**AwoSocial 2.2.0** is a self-contained corporate B2B holiday and social visual studio for WordPress (`WP Admin -> AwoSocial`).

= What AwoSocial Does =

AwoSocial helps companies design branded social media posts (1080x1080), vertical stories (1080x1920), and 600px HTML greeting emails for official holidays, religious festivals, and corporate milestones in 10 languages.

= How to Configure and Use AwoSocial =

1. **Open the Studio:** After activating the plugin, click **AwoSocial** in the WordPress admin sidebar (requires `manage_options` capability).
2. **Configure Company Settings:** Enter your company name, slogan, website URL, brand colors, and upload your company logo in the Brand Identity panel.
3. **Select a Holiday or Custom Occasion:** Pick an international or local occasion from the built-in calendar engine and choose your target output language (TR, EN, DE, AR RTL, ZH, RU, ES, FR, JA, KO).
4. **Customize Layout & Typography:** Switch between Square Post (1080x1080), Vertical Story (1080x1920), and HTML Email (600px) formats and customize the headline, badge, and greeting message.
5. **Save or Export:** Click **Save** to store your workspace presets locally in WordPress, click **Download PNG** to export high-resolution social visuals via HTML5 Canvas, or copy/download the responsive HTML greeting email.

= Key Features =

* **Live Social Studio & Instant Canvas Preview:** Edit your corporate branding and greeting message on the left and preview Square Post (1080x1080), Story (1080x1920), or 600px Email layouts live on the right.
* **10-Language Calendar Engine (LTR, RTL & CJK):** Built-in holiday and special-day catalog covering Turkish, English, German, Arabic RTL, Chinese, Russian, Spanish, French, Japanese, and Korean.
* **100% Local WordPress Database Storage:** Stores workspace records safely inside `wp_options` (`awosocial_workspace_v1`) via Nonce-verified and capability-checked WordPress AJAX (`manage_options`).
* **Portable JSON & Visual Export:** Export high-resolution PNG graphics locally via HTML5 Canvas, copy ready-to-send HTML email code, or back up your workspace as portable JSON at any time.
* **Adaptive Day / Night UI:** Supports automatic system theme detection as well as manual Light and Dark modes.

= External Services =

* **100% Local Default Operation:** AwoSocial runs 100% locally inside your WordPress site and makes **zero external HTTP requests**.
  * Terms & Privacy Policy: `https://awoscan.com/privacy`

= Privacy and Data Storage =

AwoSocial stores all workspace settings, custom occasions, and uploaded brand assets locally inside your own WordPress database (`wp_options` under `awosocial_workspace_v1`). No business records or customer data are sent to external servers. All stored options are automatically removed when the plugin is uninstalled (`uninstall.php`).

= Source Code =

All PHP, JavaScript, and CSS files in this plugin are distributed in human-readable, unminified source form directly inside the plugin directory (no external build tool or compiler is required):

* assets/awosocial.js - HTML5 Canvas post/story generator, 10-language holiday presets, and HTML email builder.
* assets/awosocial.css - Admin studio layout and responsive preview styles.
* includes/awo-calendar-engine.php - Multi-country holiday calendar catalog and occasion verification rules.
* includes/awosocial-capabilities.php - Canonical 10-language typography catalog and local capability definitions.

== Installation ==

1. Upload the `awosocial` folder to `/wp-content/plugins/` or upload the plugin ZIP file via **Plugins -> Add New -> Upload Plugin** in WordPress.
2. Activate **AwoSocial** through the **Plugins** menu in WordPress.
3. Click **AwoSocial** in the WordPress admin sidebar (`manage_options` capability required).
4. Configure your company brand header, choose a holiday preset, click **Save**, and download your 1080x1080 Post, 1080x1920 Story PNG, or 600px HTML email.

== Frequently Asked Questions ==

= Does AwoSocial require an external account or cloud subscription to work? =

No. AwoSocial runs locally inside WordPress out of the box with no external account required.

= Where is my data stored? =

All data is stored in your own WordPress database inside the `wp_options` table (`awosocial_workspace_v1`) and can be exported to JSON at any time.

= What formats can I export from AwoSocial? =

You can export high-resolution 1080x1080 Square Posts and 1080x1920 Vertical Stories as PNG images via local HTML5 Canvas, and copy or download 600px responsive HTML greeting emails.

== Screenshots ==

1. AwoSocial main workspace editor and live 1080x1080 social post preview.
2. 10-language holiday calendar selector, story mode, and HTML email greeting preview.
3. Company header, branding, and workspace backup controls.

== Changelog ==

= 2.2.0 =
* Tested and verified up to WordPress 7.2.
* Unified `awosocial_get_languages_catalog()` into `includes/awosocial-capabilities.php` to keep all 10 languages and studio features available locally, and simplified calendar metadata labels.
* Updated `readme.txt` documentation with accurate social post, story, HTML email, Privacy, and Source Code details.

= 1.0.0 =
* Initial release of AwoSocial corporate studio for WordPress.
