WordPress Plugin
Install the 1FRX WordPress plugin to auto-generate Open Graph images and featured images when you publish posts. Works with WordPress.com and self-hosted WordPress 5.0+.
Installation
Option 1: Install from WordPress Plugin Directory
- Go to your WordPress Admin Dashboard
- Navigate to Plugins → Add New
- Search for "1FRX"
- Click Install Now next to the 1FRX plugin
- Click Activate
Option 2: Upload Manually
- Download
1frx-wordpress-plugin.zipfrom your 1FRX dashboard - Go to WordPress Admin → Plugins → Add New → Upload Plugin
- Choose the .zip file and click Install Now
- Click Activate Plugin
Setup
1. Get your 1FRX API key
Log into your 1FRX dashboard and copy your API key.
2. Configure the plugin
- In WordPress Admin, go to Settings → 1FRX
- Paste your 1FRX API key into the "API Key" field
- Configure these options:
3. Configuration options
- Enable OG Image Generation: Automatically generate Open Graph images for each post
- Set as Featured Image: Use the generated image as the post's featured image
- Image Template: Choose from Gradient, Bold, Minimal, or Modern
- Brand Accent Colour: Hex colour for the generated images
- Enable PDF Generation: Create a PDF version of each post
- Logo URL (optional): Your site logo to include on images
Click Save Changes when finished.
Usage
The plugin works automatically. When you publish or update a post:
- The plugin detects the publish action
- Calls the 1FRX API with your post title, excerpt, and settings
- Gets back a hosted image URL
- If enabled, sets it as your post's featured image
- Optionally generates a PDF and makes it downloadable
Plugin hooks and filters (for developers)
If you need to call the 1FRX API manually from your theme or custom code:
// Get the 1FRX client
$frx = 1FRX_Client::get_instance();
// Generate an OG image
$result = $frx->generate_og_image(array(
'title' => 'My Post Title',
'subtitle' => 'Optional subtitle',
'domain' => get_site_url(),
'accentColor' => '#5ee3ff'
));
if (!is_wp_error($result)) {
$image_url = $result['url'];
}
Troubleshooting
Plugin activated but settings page is blank
Clear your browser cache or try accessing it in an incognito/private window. Some caching plugins may need to be refreshed.
API key is not being saved
Check that the user role has permission to manage options. Only administrators can change plugin settings.
Images are not being generated
Verify your API key is correct and your 1FRX account has available requests in your plan. Check the WordPress error log at /wp-content/debug.log.
Featured image is not updating automatically
Make sure "Set as Featured Image" is enabled in plugin settings. Some page builders or plugins may override this setting.
PDF generation is not working
PDF generation requires additional resources. Check that your hosting allows outbound HTTPS requests to the 1FRX API.
FAQ
Does this work with WordPress.com?
No, plugins cannot be installed on WordPress.com free or personal plans. You can use the Zapier integration instead to automate with WordPress.com.
Will this work with my page builder?
Yes. The plugin hooks into WordPress's standard post publishing action, so it works with Elementor, Divi, Beaver Builder, and all other page builders.
Can I regenerate images for old posts?
Yes. Edit an old post, change the publish date to today, and click "Update". The plugin will regenerate the featured image.
What happens if my API key expires?
API keys don't expire, but you can rotate them anytime in your 1FRX dashboard. Just update the key in plugin settings.