WordPress Integration
Publish directly to WordPress sites
Suparank WordPress Plugin
Required for publishing to WordPress sites
Step 1: Install the Plugin
- Download the latest .zip file from the releases page above
- In WordPress, go to Plugins → Add New → Upload Plugin
- Upload the .zip file and click Activate
Step 2: Get Your Secret Key
- Go to Settings → Suparank in your WordPress admin
- Copy the generated secret key (click the copy button)
Security Note
The secret key is generated automatically and stored securely. You can regenerate it at any time from the plugin settings if needed.
Step 3: Configure Credentials
Run the interactive setup wizard:
npx suparank secretsSelect WordPress Publishing and enter your site URL and secret key. The wizard will test the connection automatically.
Or add manually to ~/.suparank/credentials.json:
~/.suparank/credentials.jsonjson
{
"wordpress": {
"site_url": "https://your-site.com",
"secret_key": "your-plugin-secret-key"
}
}Features
- Featured Images: Automatically downloaded and set as post thumbnail
- Categories: Assign to existing or create new categories
- Tags: Create or use existing tags
- Status: Publish as draft, pending, or live
- Custom Slugs: Set URL slugs for posts
Usage
After saving content with save_content():
publish_content({
platforms: ["wordpress"],
status: "draft",
category: "Technology"
})