=== Photo Card BD – News Photocard Auto Poster ===
Contributors: photocardbd
Tags: news, facebook, auto post, social media, bangla
Requires at least: 5.6
Tested up to: 7.1
Requires PHP: 7.2
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Publish a news post and get a branded Bangla news photocard, posted to your Facebook Page automatically.

== Description ==

Photo Card BD connects your WordPress news site to [Photo Card BD](https://photocardbd.com/news-card/), a Bangla news photocard maker used by news portals and Facebook pages in Bangladesh.

When you publish a post, the plugin turns its headline and featured image into a ready-to-share news photocard – with your logo, your colors and your favorite design – and (on supported plans) posts it straight to your Facebook Page.

**Features**

* One click: just press Publish. The card is made and posted automatically.
* Your branding: your organization's logo, name and website on every card.
* Your designs: the designs you star (⭐) on photocardbd.com are used in rotation. Quote, poll and score designs are skipped for regular news.
* Correct Bangla text: cards are drawn in the browser with proper Bangla conjuncts.
* Facebook Page posting (Pro plans): the card is posted with a caption and hashtags; the news link can go in the first comment or in the caption.
* Custom caption and comment templates with {headline}, {category}, {site}, {date}, {link} and {hashtags}.
* The card is also saved to your Media Library and attached to the post.
* Optional: use the card as the Facebook share image (og:image), with Yoast SEO or Rank Math support.
* A "Photocard" column in the posts list shows the status of every post.
* Works with the block editor, the classic editor, scheduled posts and posts published from the mobile app.

The plugin interface is in Bangla.

**Requirements**

* A free or paid account on [photocardbd.com](https://photocardbd.com/user-register). Free accounts get a few watermarked cards; plans remove the watermark and add more cards.
* A featured image on each post.
* Facebook Page posting needs a Pro, Business or Pro Annual plan and a Facebook Page connected on photocardbd.com.

== External services ==

This plugin relies on the Photo Card BD service (photocardbd.com), operated by Photo Card BD, to make news photocards and post them to Facebook. Without the service the plugin does nothing.

* **When you connect:** you are sent to photocardbd.com to log in and approve. Your site address and site name are sent so the connection can be created; the plugin stores an access token in your WordPress options.
* **When a post is published (or you press "make card now"):** the post's ID, title, permalink (or short link), category name and featured image URL are sent to photocardbd.com to create a card job. Your account status (plan, remaining cards, connected Facebook Page name, favorite designs) is read from the service to show on the settings page.
* **While the card is made in your browser:** the card design script (designs.js) and the render script are loaded from photocardbd.com, together with your logo and design assets; Google Fonts (fonts.googleapis.com) and Font Awesome (cdnjs.cloudflare.com) are loaded for the card's lettering. The finished card image is sent to photocardbd.com, which counts it against your plan and – if enabled – posts it to your connected Facebook Page using the Facebook Graph API.
* **Updates:** none – updates come from WordPress.org.

Service terms: https://photocardbd.com/terms
Privacy policy: https://photocardbd.com/privacy_policy
Google Fonts privacy: https://policies.google.com/privacy
Cloudflare (cdnjs) privacy: https://www.cloudflare.com/privacypolicy/
Facebook (Meta) privacy: https://www.facebook.com/privacy/policy/

== Installation ==

1. Install the plugin from Plugins → Add New (search "Photo Card BD"), or upload the zip, and activate it.
2. Go to Settings → Photo Card BD and click "Photo Card BD-তে যুক্ত করুন" (Connect to Photo Card BD). Log in on photocardbd.com and approve.
3. On photocardbd.com, open Organization Setup (প্রতিষ্ঠান সেটআপ): add your logo and connect your Facebook Page. In the card maker, star (⭐) your favorite designs.
4. Publish a post with a featured image.

== Frequently Asked Questions ==

= Where is the card made? =
In your own admin browser, using Photo Card BD's designs, so Bangla text is rendered correctly. Nothing extra is needed on your server.

= What happens to scheduled posts? =
The card is made the next time someone opens the WordPress admin. Posts older than 12 hours are not posted, so old news never goes out.

= Can I turn it off for one post? =
Yes. Use the "Photo Card BD" box in the editor sidebar before publishing.

= Can I change the caption or put the link in a comment? =
Yes, on photocardbd.com → Organization Setup → Website → Card style and caption.

= How many cards can I make? =
Each card counts as one card from your Photo Card BD plan, the same as downloading it from the card maker.

== Screenshots ==

1. Settings page: account, plan, remaining cards, Facebook Page and options.
2. Editor sidebar box with the card preview after publishing.
3. A finished news photocard with the site's logo.
4. "Photocard" status column in the posts list.

== Changelog ==

= 1.0.2 =
* Security and coding-standards improvements; English readme.

= 1.0.1 =
* Use photocardbd.com's direct API address (fixes "could not reach photocardbd.com").

= 1.0.0 =
* First release.
