{"id":122861,"date":"2020-06-11T08:05:01","date_gmt":"2020-06-11T08:05:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/simple-open-graphs\/"},"modified":"2026-05-21T03:33:49","modified_gmt":"2026-05-21T03:33:49","slug":"simple-open-graphs","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/simple-open-graphs\/","author":17556873,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0","stable_tag":"2.0","tested":"7.0","requires":"5.5","requires_php":"7.4","requires_plugins":null,"header_name":"Simple Open Graphs","header_author":"WebCodingPlace","header_description":"Easily add open graph meta tags in your site","assets_banners_color":"e2dff1","last_updated":"2026-05-21 03:33:49","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/webcodingplace","header_plugin_uri":"https:\/\/webcodingplace.com\/simple-open-graphs","header_author_uri":"https:\/\/webcodingplace.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1134,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0":{"tag":"2.0","author":"webcodingplace","date":"2026-05-21 03:33:49"}},"upgrade_notice":{"2.0.0":"<p>Complete rewrite with Twitter\/X Cards, live previews, importers, WooCommerce support, and SEO plugin compatibility. Your existing settings and per-post overrides are preserved automatically.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3538204,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3538204,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3542605,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3542605,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3538204,"resolution":"1","location":"assets","locale":"","width":1302,"height":778},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3538204,"resolution":"2","location":"assets","locale":"","width":1603,"height":786},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":3538204,"resolution":"3","location":"assets","locale":"","width":1098,"height":675},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":3538204,"resolution":"4","location":"assets","locale":"","width":1103,"height":578},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":3538204,"resolution":"5","location":"assets","locale":"","width":1105,"height":676}},"screenshots":{"1":"The per-post Social Preview metabox with live Facebook &amp; Twitter\/X cards.","2":"The main Settings page - pick a default image, Twitter\/X handles, Facebook App ID.","3":"Verification tab for Facebook, Pinterest, Google, and Bing.","4":"Compatibility tab auto-detects co-installed SEO plugins.","5":"Tools tab: one-click import from Yoast, Rank Math, AIOSEO, SEOPress, and JSON settings export."}},"plugin_section":[],"plugin_tags":[157,6487,263601,1540,16595],"plugin_category":[56],"plugin_contributors":[187022],"plugin_business_model":[],"class_list":["post-122861","plugin","type-plugin","status-publish","hentry","plugin_tags-facebook","plugin_tags-open-graph","plugin_tags-social-meta","plugin_tags-social-sharing","plugin_tags-twitter-card","plugin_category-social-and-sharing","plugin_contributors-webcodingplace","plugin_committers-webcodingplace"],"banners":{"banner":"https:\/\/ps.w.org\/simple-open-graphs\/assets\/banner-772x250.jpg?rev=3542605","banner_2x":"https:\/\/ps.w.org\/simple-open-graphs\/assets\/banner-1544x500.jpg?rev=3542605","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/simple-open-graphs\/assets\/icon-128x128.png?rev=3538204","icon_2x":"https:\/\/ps.w.org\/simple-open-graphs\/assets\/icon-256x256.png?rev=3538204","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-open-graphs\/assets\/screenshot-1.jpg?rev=3538204","caption":"The per-post Social Preview metabox with live Facebook &amp; Twitter\/X cards."},{"src":"https:\/\/ps.w.org\/simple-open-graphs\/assets\/screenshot-2.jpg?rev=3538204","caption":"The main Settings page - pick a default image, Twitter\/X handles, Facebook App ID."},{"src":"https:\/\/ps.w.org\/simple-open-graphs\/assets\/screenshot-3.jpg?rev=3538204","caption":"Verification tab for Facebook, Pinterest, Google, and Bing."},{"src":"https:\/\/ps.w.org\/simple-open-graphs\/assets\/screenshot-4.jpg?rev=3538204","caption":"Compatibility tab auto-detects co-installed SEO plugins."},{"src":"https:\/\/ps.w.org\/simple-open-graphs\/assets\/screenshot-5.jpg?rev=3538204","caption":"Tools tab: one-click import from Yoast, Rank Math, AIOSEO, SEOPress, and JSON settings export."}],"raw_content":"<!--section=description-->\n<p><strong>Simple Open Graphs<\/strong> is a feather-light social metadata plugin that makes every link to your site look great on <strong>Facebook, Twitter\/X, LinkedIn, WhatsApp, Discord, Slack, Pinterest, Telegram<\/strong>, and beyond, without the bloat of a full SEO suite.<\/p>\n\n<p>Less than 100KB on the front end. Zero database tables. Zero settings required to get started.<\/p>\n\n<h4>Why Simple Open Graphs?<\/h4>\n\n<ul>\n<li>\u26a1 <strong>Lightweight.<\/strong> No frontend JavaScript. No CSS. Just clean <code>&lt;meta&gt;<\/code> tags.<\/li>\n<li>\ud83c\udfa8 <strong>Live previews<\/strong> of how your post will look on Facebook, LinkedIn, and Twitter\/X - right inside the post editor.<\/li>\n<li>\ud83d\udd01 <strong>Plays nice with SEO plugins.<\/strong> Auto-detects Yoast, Rank Math, AIOSEO, SEOPress, Slim SEO, The SEO Framework - and automatically yields to them on the front end so you never get duplicate tags.<\/li>\n<li>\ud83d\udce5 <strong>One-click importer<\/strong> from Yoast, Rank Math, All in One SEO, SEOPress, and The SEO Framework.<\/li>\n<li>\ud83e\uddf0 <strong>Developer friendly.<\/strong> Filters, REST endpoints, WP-CLI commands, PSR-4 autoloader, namespaced OOP.<\/li>\n<\/ul>\n\n<h4>Features<\/h4>\n\n<p><strong>Open Graph (Facebook, LinkedIn, WhatsApp, Discord, Slack, Telegram)<\/strong><\/p>\n\n<ul>\n<li><code>og:title<\/code>, <code>og:description<\/code>, <code>og:image<\/code>, <code>og:image:alt<\/code>, <code>og:image:width<\/code>, <code>og:image:height<\/code>, <code>og:image:type<\/code>, <code>og:image:secure_url<\/code><\/li>\n<li><code>og:url<\/code>, <code>og:type<\/code>, <code>og:locale<\/code>, <code>og:site_name<\/code>, <code>og:updated_time<\/code><\/li>\n<li><code>article:published_time<\/code>, <code>article:modified_time<\/code>, <code>article:author<\/code>, <code>article:section<\/code>, <code>article:tag<\/code><\/li>\n<li>Facebook App ID + Admins<\/li>\n<li>WooCommerce <code>product:price:amount<\/code>, <code>product:price:currency<\/code>, <code>product:availability<\/code>, <code>product:retailer_item_id<\/code><\/li>\n<\/ul>\n\n<p><strong>Twitter\/X Cards<\/strong><\/p>\n\n<ul>\n<li><code>twitter:card<\/code> (summary, summary_large_image, app, player)<\/li>\n<li><code>twitter:title<\/code>, <code>twitter:description<\/code>, <code>twitter:image<\/code>, <code>twitter:image:alt<\/code><\/li>\n<li><code>twitter:site<\/code>, <code>twitter:creator<\/code><\/li>\n<li>Per-author handle override from the WordPress user profile<\/li>\n<\/ul>\n\n<p><strong>Site verification (one-tag-each)<\/strong><\/p>\n\n<ul>\n<li>Facebook domain verification<\/li>\n<li>Pinterest verification (rich pins)<\/li>\n<li>Google Search Console<\/li>\n<li>Bing Webmaster Tools<\/li>\n<\/ul>\n\n<p><strong>Automation<\/strong><\/p>\n\n<ul>\n<li>Featured image fallback \u2192 first content image \u2192 site default \u2192 safety fallback<\/li>\n<li>Auto-generated excerpts\/descriptions trimmed to platform-safe lengths<\/li>\n<li>Auto locale detection<\/li>\n<li>Auto title separator<\/li>\n<li>Auto duplicate-tag prevention<\/li>\n<\/ul>\n\n<p><strong>Compatibility<\/strong><\/p>\n\n<ul>\n<li>Gutenberg, Classic Editor, Elementor, Divi, Bricks, Oxygen, WPBakery<\/li>\n<li>WooCommerce, Easy Digital Downloads<\/li>\n<li>WPML, Polylang, multisite<\/li>\n<li>AMP, REST API, headless WordPress<\/li>\n<li>All major page caches &amp; object caches<\/li>\n<\/ul>\n\n<p><strong>Developer tools<\/strong><\/p>\n\n<ul>\n<li><code>wp sog import yoast --overwrite<\/code> (WP-CLI)<\/li>\n<li><code>GET \/wp-json\/sog\/v1\/meta?url=\u2026<\/code> (REST)<\/li>\n<li><code>apply_filters( 'sog_meta_tags', $tags, $data )<\/code> and a dozen more<\/li>\n<\/ul>\n\n<h4>Privacy<\/h4>\n\n<p>Simple Open Graphs does <strong>not<\/strong> make external HTTP requests, does <strong>not<\/strong> collect telemetry, and does <strong>not<\/strong> add tracking scripts.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to <code>wp-content\/plugins\/simple-open-graphs\/<\/code> or install through the Plugins screen.<\/li>\n<li>Activate.<\/li>\n<li>Visit <strong>Settings \u2192 Open Graph<\/strong> to pick a default social image, enabled post types, and your Twitter\/X handle.<\/li>\n<li>Edit any post - you'll see a <strong>Social Preview<\/strong> metabox with live cards.<\/li>\n<\/ol>\n\n<p>That's it. Sharing your URL now produces beautiful rich previews.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20an%20seo%20plugin%20%28yoast%2C%20rank%20math%2C%20aioseo%29%20to%20use%20this%3F\"><h3>Do I need an SEO plugin (Yoast, Rank Math, AIOSEO) to use this?<\/h3><\/dt>\n<dd><p>No. Simple Open Graphs is fully standalone. It's designed for people who want excellent social previews without installing a full SEO suite.<\/p><\/dd>\n<dt id=\"i%20already%20have%20yoast%20%2F%20rank%20math%20%2F%20aioseo.%20will%20this%20conflict%3F\"><h3>I already have Yoast \/ Rank Math \/ AIOSEO. Will this conflict?<\/h3><\/dt>\n<dd><p>No. The plugin auto-detects the major SEO plugins and yields the front end to them so you never get duplicate Open Graph tags. You can still use the per-post Social Preview metabox to override their values, and run the <strong>Tools \u2192 Import<\/strong> to copy your existing social metadata in.<\/p><\/dd>\n<dt id=\"will%20this%20slow%20down%20my%20site%3F\"><h3>Will this slow down my site?<\/h3><\/dt>\n<dd><p>No. There is zero JavaScript and zero CSS loaded on the front end. The output is a small static block of <code>&lt;meta&gt;<\/code> tags inside <code>&lt;head&gt;<\/code> - typically under 1 KB. Resolved data is cached via the object cache when available.<\/p><\/dd>\n<dt id=\"does%20this%20support%20woocommerce%20products%3F\"><h3>Does this support WooCommerce products?<\/h3><\/dt>\n<dd><p>Yes - products emit <code>og:type=product<\/code> plus <code>product:price:amount<\/code>, <code>product:price:currency<\/code>, <code>product:availability<\/code>, and <code>product:retailer_item_id<\/code>.<\/p><\/dd>\n<dt id=\"how%20do%20i%20see%20how%20my%20page%20looks%20when%20shared%3F\"><h3>How do I see how my page looks when shared?<\/h3><\/dt>\n<dd><p>Use the <strong>Tools<\/strong> sidebar links to the official Facebook Sharing Debugger, LinkedIn Post Inspector, X Card Validator, and Google Rich Results Test. They each fetch your page and show the rendered preview.<\/p><\/dd>\n<dt id=\"can%20i%20import%20my%20settings%20from%20another%20seo%20plugin%3F\"><h3>Can I import my settings from another SEO plugin?<\/h3><\/dt>\n<dd><p>Yes. Go to <strong>Settings \u2192 Open Graph \u2192 Tools<\/strong>, pick your source plugin, and click <strong>Run import<\/strong>. We support Yoast, Rank Math, All in One SEO, SEOPress, and The SEO Framework.<\/p><\/dd>\n<dt id=\"is%20it%20translation%20ready%3F\"><h3>Is it translation ready?<\/h3><\/dt>\n<dd><p>Yes - <code>Text Domain: simple-open-graphs<\/code>. A <code>.pot<\/code> file is included in <code>\/languages<\/code>.<\/p><\/dd>\n<dt id=\"is%20it%20headless%20%2F%20rest%20friendly%3F\"><h3>Is it headless \/ REST friendly?<\/h3><\/dt>\n<dd><p>Yes. Call <code>GET \/wp-json\/sog\/v1\/meta?url=&lt;absolute-url&gt;<\/code> from your headless frontend to get a ready-to-render JSON payload.<\/p><\/dd>\n<dt id=\"is%20it%20wp-cli%20friendly%3F\"><h3>Is it WP-CLI friendly?<\/h3><\/dt>\n<dd><p>Yes. <code>wp sog show &lt;post&gt;<\/code>, <code>wp sog import &lt;source&gt;<\/code>, <code>wp sog reset<\/code>.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20wpml%20%2F%20polylang%3F\"><h3>Does it work with WPML \/ Polylang?<\/h3><\/dt>\n<dd><p>Yes. Each translation has its own metabox values and emits the correct <code>og:locale<\/code> automatically.<\/p><\/dd>\n<dt id=\"how%20do%20i%20customize%20the%20output%3F\"><h3>How do I customize the output?<\/h3><\/dt>\n<dd><p>Use filters: <code>sog_meta_tags<\/code>, <code>sog_resolved_data<\/code>, <code>sog_enabled_post_types<\/code>, <code>sog_should_render<\/code>, <code>sog_remove_duplicate_tags<\/code>. Hooks documented in the plugin source.<\/p><\/dd>\n<dt id=\"how%20do%20i%20report%20a%20bug%3F\"><h3>How do I report a bug?<\/h3><\/dt>\n<dd><p><a href=\"https:\/\/wordpress.org\/support\/plugin\/simple-open-graphs\/\">Open a thread<\/a> on WordPress.org. Include your PHP\/WP versions and which SEO plugin (if any) is active.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li><strong>Complete rewrite.<\/strong> Modern OOP architecture (PSR-4 autoloader, namespaced services).<\/li>\n<li><strong>Twitter\/X Card support<\/strong> with auto-fallback from large-image to summary when no image exists.<\/li>\n<li><strong>LinkedIn, WhatsApp, Discord, Slack, Pinterest, Telegram<\/strong> unfurl optimization.<\/li>\n<li><strong>Live preview cards<\/strong> in the post editor for Facebook and Twitter\/X.<\/li>\n<li><strong>Importer<\/strong> from Yoast SEO, Rank Math, AIOSEO, SEOPress, and The SEO Framework.<\/li>\n<li><strong>SEO plugin auto-detection<\/strong> to prevent duplicate Open Graph tags.<\/li>\n<li><strong>WooCommerce product metadata<\/strong> (<code>og:type=product<\/code>, price, currency, availability, SKU).<\/li>\n<li><strong>Verification tags<\/strong>: Facebook domain, Pinterest, Google Search Console, Bing.<\/li>\n<li><strong>Site-wide defaults<\/strong>: default social image, fallback image, Twitter site\/creator handles, FB App ID.<\/li>\n<li><strong>Settings export \/ import \/ reset<\/strong> as JSON.<\/li>\n<li><strong>REST API endpoint<\/strong> <code>\/sog\/v1\/meta<\/code> for headless WordPress.<\/li>\n<li><strong>WP-CLI commands<\/strong> (<code>wp sog show<\/code>, <code>wp sog import<\/code>, <code>wp sog reset<\/code>).<\/li>\n<li><strong>Object cache<\/strong> support for resolved metadata.<\/li>\n<li><strong>Security hardening<\/strong>: nonces, capability checks, output escaping, sanitization across all inputs.<\/li>\n<li><strong>Backward compatible<\/strong> with 1.x post meta keys (<code>sog_title<\/code>, <code>sog_description<\/code>, <code>sog_image_url<\/code>, \u2026) - no data is lost.<\/li>\n<li>New developer hooks: <code>sog_meta_tags<\/code>, <code>sog_resolved_data<\/code>, <code>sog_enabled_post_types<\/code>, <code>sog_should_render<\/code>, <code>sog_remove_duplicate_tags<\/code>.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"The fastest, simplest way to add Open Graph &amp; Twitter\/X Card tags. Beautiful previews, per-post overrides, importers from Yoast\/Rank Math\/AIOSEO.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/122861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=122861"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webcodingplace"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=122861"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=122861"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=122861"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=122861"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=122861"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=122861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}