The Problem
Share a WordPress link on Twitter/X, LinkedIn, or Slack and the platform shows a preview card — title, description, and an image. That image is the OG image. Without one, your link shows up as plain text or a generic placeholder. People scroll right past it.
Most WordPress sites either reuse the same image everywhere or fall back to featured images that weren't designed for social previews. Creating a unique OG image for every post? Nobody has time for that.
Install the MyOG Social Plugin
The MyOG Social plugin is on WordPress.org. It generates OG images automatically for every page and post. No design work, no manual uploads.
Step 1: Install the Plugin
Plugins → Add New, search for MyOG Social, click Install Now, then Activate.
Step 2: Add Your Domain
Sign up for a free MyOG.social account and add your WordPress domain to the dashboard. This tells MyOG which domains are yours.
Step 3: Choose a Template
Pick a template in the dashboard — Brand (logo + colors), Screenshot Right, Screenshot Bottom, Screenshot Bottom Framed, or Screenshot Only. The plugin uses whichever one you select.
Step 4: Test It
Use the OG Preview tool to check how your pages look when shared, or just paste a link into Twitter/X or LinkedIn.
How It Works
The plugin adds an og:image meta tag to every page. When someone shares your URL, the social platform requests the image from MyOG.social, which:
- Fetches your page's title, description, and favicon
- Generates a 1200x630 image using your chosen template
- Caches the image for fast subsequent loads
All of this happens in the background. Nothing to maintain.
Works with Yoast, RankMath, and AIOSEO
If you use an SEO plugin, it probably sets its own OG images — usually the featured image. Two ways to handle this:
- Disable OG images in the SEO plugin's social settings and let MyOG.social handle everything.
- Keep both — the SEO plugin covers posts with featured images, MyOG handles the rest as a fallback.
The plugin outputs its meta tag at priority 99, so it plays well with most SEO plugin configurations.
Alternative: Code Snippet
Don't want a plugin? You can add a snippet to functions.php instead. See the WordPress integration guide for the manual approaches.
Frequently Asked Questions
How do I add OG images to WordPress?
The easiest way is to install the MyOG Social plugin from WordPress.org. Go to Plugins → Add New, search for "MyOG Social", install and activate it. The plugin automatically adds OG image meta tags to all your pages and posts.
Does the MyOG Social plugin work with Yoast SEO?
Yes, but SEO plugins like Yoast, RankMath, and AIOSEO may set their own OG images. You can either disable OG images in your SEO plugin's social settings, or use MyOG only for pages without a featured image set.
What OG image templates are available for WordPress?
MyOG.social offers several templates including Brand (logo + colors), Screenshot Right, Screenshot Bottom, Screenshot Bottom Framed, and Screenshot Only. You can choose your preferred template from the MyOG.social dashboard.
Do I need to create OG images manually for each WordPress post?
No. The MyOG Social plugin generates OG images automatically for every page and post on your WordPress site. Images are created on-the-fly based on your page content and cached for fast delivery.
Ready to get started?
Install the MyOG Social plugin and add automatic OG images to your WordPress site.
Already have an account?