=== Sajha Poster ===
Contributors: sajha
Tags: social media, poster, nepali, open graph, featured image
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Turn every post into share-ready posters in Nepali and English, with your brand.

== Description ==

Sajha Poster makes social media posters from your posts: feed (4:5), square, story (9:16), pin (2:3) and link-preview (1.91:1) sizes, with your logo, colours and fonts. Nepali text with conjuncts and matras comes out right, and dates can be Bikram Sambat.

**This plugin connects your site to Sajha (yukeshchaudhary.com/sajha), a paid service.** You need a Sajha account (a free trial is included). Posters are drawn in your browser and stored on Sajha; your plan sets how many posters you can make each month. The plugin sends the post's title, excerpt, image link, date and category to Sajha when you make a poster, and nothing else.

* A Poster panel in the block editor and the classic editor
* "Generate Poster" in the posts list, a Poster column, bulk posters and a with/without filter
* A button under the article for logged-in editors (visitors never load anything)
* Auto mode: a poster right after publishing, or later for posts published another way
* Save posters to the Media Library, use them as featured image or as og:image (Yoast, Rank Math or on its own)
* Poster library, dashboard and help screens

== Installation ==

1. Upload and activate the plugin.
2. On yukeshchaudhary.com/sajha open API keys and make a WordPress site key.
3. In WordPress open Sajha → Settings → Connection, paste the key and click Connect.

== Frequently Asked Questions ==

= Why does my browser draw the poster? =
Browsers shape Nepali text perfectly. The poster is drawn in your tab and sent to Sajha, so keep the tab open until it says ready.

= Does it slow down my site? =
No. Nothing loads for visitors. Scripts load only for logged-in users who may make posters.

= What happens to my data if I delete the plugin? =
Settings and post meta are removed only if you switch on "Delete all plugin data" in Settings → Advanced.

== Privacy ==

When you make a poster, the plugin sends to yukeshchaudhary.com/sajha: the post's headline, excerpt, image URL, date, category label (and a product's price), and your site address. Sajha's privacy policy: https://yukeshchaudhary.com/sajha/privacy

== Changelog ==

= 1.2.0 =
* Sajha now lives at yukeshchaudhary.com/sajha: the plugin connects, checks for updates and opens your dashboard there.

= 1.1.2 =
* Template picker: one tab per category (news first for posts, products first for WooCommerce), bigger previews, 8 at a time with "Show more".
* New long-news story templates get the article's opening paragraph (or a long excerpt) automatically; product templates get up to three features from the short description.

= 1.1.1 =
* Updates install by themselves (on by default; switch it off in Sajha → Settings → General).

= 1.1.0 =
* Story slides: "Make slides" under each article and in the post editor draws a 4-slide carousel (the hook, what happened, the quote, read the full story) in your colours, for Instagram and Facebook. Drawn in your browser, free, no poster quota used.
* "Who can make posters" lists every role that can write posts, including Contributor and custom newsroom roles.

= 1.0.4 =
* "Who can make posters" lists every role that can write posts, including Contributor and custom newsroom roles.

= 1.0.3 =
* WooCommerce products: posters get the price, the old price and the discount when on sale, the product category and a "Shop now" button.
* Clearer errors: instead of "Something went wrong." the message says what failed (WordPress, Sajha, too-large upload or an image that did not load).

= 1.0.2 =
* Posters are drawn in a sandboxed frame (security hardening).
* "Need help? Chat with us" opens your Sajha messages.

= 1.0.1 =
* The block editor saves the poster fields (headline, highlight words, category label, skip auto).

= 1.0.0 =
* First release.
