=== Pensteady ===
Contributors: pensteady
Tags: content, automation, sync, articles, publishing
Requires at least: 5.0
Tested up to: 6.7
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically sync scheduled articles from Pensteady to WordPress.

== Description ==

Pensteady is a powerful WordPress plugin that automatically syncs your scheduled articles from your Pensteady account directly into WordPress. Save time and streamline your content publishing workflow.

= Features =

* **Automatic Sync** - Schedule automatic syncing of articles (hourly, twice daily, or daily)
* **Manual Sync** - Trigger manual sync anytime from the settings page
* **Auto-publish or Draft** - Choose whether synced articles should be published immediately or saved as drafts
* **Category Management** - Automatically assign categories to synced articles
* **Author Assignment** - Set default author for all synced content
* **Featured Images** - Automatically imports featured images from Pensteady
* **Activity Log** - View the last 20 synced articles with status and details
* **Test Connection** - Verify your API connection before syncing

= How It Works =

1. Install and activate the plugin
2. Go to Settings → Pensteady
3. Enter your Pensteady API key (starts with `ps_live_`)
4. Test the connection
5. Configure your sync preferences
6. Save settings and let the plugin handle the rest!

= Requirements =

* A Pensteady account with an active API key
* WordPress 5.0 or higher
* PHP 7.4 or higher

== Installation ==

1. Upload the `pensteady` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Settings → Pensteady to configure the plugin
4. Enter your API key and configure sync preferences
5. Click "Test Connection" to verify your setup

== Frequently Asked Questions ==

= Where do I get my API key? =

Log in to your Pensteady account and navigate to Settings → API. Your API key will start with `ps_live_`.

= How often does the plugin sync articles? =

You can choose from three sync frequencies:
* Hourly - Checks for new articles every hour
* Twice Daily - Checks every 12 hours
* Daily - Checks once per day

You can also trigger a manual sync anytime from the settings page.

= What happens to articles that are already synced? =

The plugin tracks which articles have been synced and will not create duplicate posts. Each article is only synced once.

= Can I sync articles as drafts instead of publishing them immediately? =

Yes! In the settings page, you can toggle "Auto-publish" off. This will import all articles as drafts for you to review before publishing.

= What if my API key stops working? =

If your API key is revoked or expires, the plugin will log an error in the activity log. You'll need to generate a new API key in your Pensteady account and update it in the plugin settings.

== Screenshots ==

1. Settings page with API configuration
2. Activity log showing synced articles
3. Test connection and manual sync buttons

== Changelog ==

= 1.0.0 =
* Initial release
* Automatic article syncing
* Manual sync option
* Activity logging
* Category and author management
* Featured image support
* Configurable sync frequency

== Upgrade Notice ==

= 1.0.0 =
Initial release of the Pensteady WordPress plugin.
