=== FrontRank ===
Contributors: frontrank, topoapps
Tags: ai, seo, content, auto-publish, blog
Requires at least: 5.6
Tested up to: 6.9
Stable tag: 1.0.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically publish AI-generated SEO articles from FrontRank directly to your WordPress site.

== Description ==

FrontRank is an AI-powered SEO content platform that generates high-quality, keyword-optimized articles and publishes them directly to your WordPress site on autopilot.

This plugin connects your WordPress site to your FrontRank account, allowing FrontRank to automatically publish articles, set featured images, and populate SEO meta fields (compatible with Yoast SEO and Rank Math).

**How it works:**

1. Install and activate this plugin
2. Go to **WordPress Admin → FrontRank** to find your API key
3. Enter your site URL and API key in your FrontRank dashboard under **Settings → Integrations → WordPress**
4. FrontRank will now automatically publish your AI-generated articles to your site

**Features:**

* Automatic article publishing with featured image upload
* SEO meta description support (Yoast SEO and Rank Math compatible)
* Secure API key authentication
* Works with self-hosted WordPress and WordPress.com Business plan
* No configuration required beyond entering your API key

**Requirements:**

* A FrontRank account — [sign up at frontrank.com](https://frontrank.com)
* WordPress 5.6 or higher
* PHP 7.4 or higher

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/frontrank` directory, or install directly through the WordPress plugins screen
2. Activate the plugin through the **Plugins** screen in WordPress
3. Go to **WordPress Admin → FrontRank** to view your API key
4. Log in to your FrontRank dashboard at [frontrank.com](https://frontrank.com)
5. Go to **Settings → Integrations → WordPress**
6. Enter your WordPress site URL and paste your API key
7. Click **Test Connection** to verify, then **Connect WordPress**

== Frequently Asked Questions ==

= Do I need a FrontRank account? =

Yes. This plugin connects your WordPress site to FrontRank. You can sign up for a free trial at [frontrank.com](https://frontrank.com).

= Is this compatible with WordPress.com? =

Yes, this plugin works with WordPress.com Business plan and higher, as well as all self-hosted WordPress installations.

= Where do I find my API key? =

After activating the plugin, go to **WordPress Admin → FrontRank**. Your API key is displayed there with a one-click copy button.

= Can I regenerate my API key? =

Yes. In **WordPress Admin → FrontRank**, click the **Regenerate Key** button. Note that you will need to update your FrontRank integration settings with the new key.

= Is Yoast SEO / Rank Math supported? =

Yes. When FrontRank publishes an article, it automatically sets the meta description for both Yoast SEO and Rank Math if they are installed.

= Does this plugin store any data? =

The plugin stores only your API key in the WordPress options table. No article content or user data is stored by the plugin itself.

= What data does FrontRank send when publishing? =

FrontRank sends the article title, slug, HTML content, meta description, and featured image URL. No other data is transmitted.

== Screenshots ==

1. The FrontRank admin page in WordPress showing your site URL and API key
2. The WordPress integration settings in your FrontRank dashboard with successful connection
3. An AI-generated article automatically published to WordPress with featured image and SEO meta description

== Changelog ==

= 1.0.1 =
* Added topoapps as contributor
* No functional changes

= 1.0.0 =
* Initial release
* Secure API key authentication
* Automatic article publishing with featured image support
* Yoast SEO and Rank Math meta description integration

== Upgrade Notice ==

= 1.0.1 =
Minor update, no functional changes.

= 1.0.0 =
Initial release.