=== ogCover Generator ===
Contributors: pavelzotikov
Tags: open graph, og image, social sharing, seo, featured image
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically generate Open Graph images for WordPress posts and pages via ogCover API.

== Description ==

ogCover Generator creates OG images for posts and pages and injects them into social meta tags.

Main features:

* Generate OG images on save/publish for posts and pages.
* Regenerate a single post/page from the editor sidebar.
* Run bulk sync for already published content.
* Use separate template IDs for posts, pages, and homepage.
* Inject og:image and twitter:image tags in page head.

You need an active ogCover account and API key.

== Installation ==

1. In WordPress admin, go to Plugins -> Add New.
2. Search for "ogCover Generator" and click Install Now.
3. Activate ogCover Generator.
4. Go to Settings -> ogCover and enter your API key and template ID.

Alternative manual install:

1. Download the plugin ZIP from https://ogcover.io/downloads/wordpress
2. In WordPress admin, go to Plugins -> Add New -> Upload Plugin.
3. Select the ZIP, click Install Now, then activate the plugin.

== Frequently Asked Questions ==

= Do I need an ogCover account? =

Yes. You need an active account and an API key from your ogCover dashboard.

= Can I use different templates for posts and pages? =

Yes. Set Template ID for posts and optionally Page Template ID for pages.

= What happens when quota is exceeded? =

The plugin shows an admin warning notice. Depending on your account settings, generated images may include an ogCover watermark.

= Can I regenerate old content in bulk? =

Yes. Use the bulk sync action on the settings page.

== External services ==

This plugin connects to the ogCover API (https://ogcover.io) to generate Open Graph images.

When you trigger image generation (automatic on post save, manual from the editor, or bulk sync), the plugin sends the following post/page data to https://ogcover.io/api/generate:

* title
* excerpt/content snippet
* author name
* publication date
* category and tag names
* estimated reading time
* site name and tagline
* featured/content image URL

No data is sent unless image generation is explicitly triggered. Generated image files are stored in your WordPress uploads directory.

* Terms of Service: https://ogcover.io/terms
* Privacy Policy: https://ogcover.io/privacy

== Screenshots ==

1. ogCover item under WordPress Settings menu.
2. Connection settings: API key, template IDs, auto-update.
3. Homepage cover settings block.
4. Template variables reference table.
5. Bulk sync section for published posts/pages.
6. Editor sidebar meta box with preview and regenerate action.

== Changelog ==

= 1.0.2 =

* WordPress.org packaging alignment: `ogcover-generator` slug package and clean ZIP contents.
* Repository/documentation cleanup and version consistency updates.

= 1.0.1 =

* Improved install instructions for WordPress.org users.
* Added Privacy section describing data sent to ogCover API.
* Improved manual generation error message for unsaved auto-drafts (RU/EN).

= 1.0.0 =

* Initial public release.
* Automatic OG image generation for posts and pages.
* Manual regenerate action in editor.
* Bulk sync for published content.
* Homepage cover support via separate template.

== Upgrade Notice ==

= 1.0.2 =

Maintenance release with packaging and repository cleanup improvements.

= 1.0.1 =

Maintenance release with WordPress.org readme improvements and clearer generation errors.

= 1.0.0 =

Initial release.
