| 开发者 | webcodingplace |
|---|---|
| 更新时间 | 2026年5月22日 02:43 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
<meta> tags.og:title, og:description, og:image, og:image:alt, og:image:width, og:image:height, og:image:type, og:image:secure_urlog:url, og:type, og:locale, og:site_name, og:updated_timearticle:published_time, article:modified_time, article:author, article:section, article:tagproduct:price:amount, product:price:currency, product:availability, product:retailer_item_idtwitter:card (summary, summary_large_image, app, player)twitter:title, twitter:description, twitter:image, twitter:image:alttwitter:site, twitter:creatorwp sog import yoast --overwrite (WP-CLI)GET /wp-json/sog/v1/meta?url=… (REST)apply_filters( 'sog_meta_tags', $tags, $data ) and a dozen morewp-content/plugins/simple-open-graphs/ or install through the Plugins screen.No. Simple Open Graphs is fully standalone. It's designed for people who want excellent social previews without installing a full SEO suite.
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 Tools → Import to copy your existing social metadata in.
No. There is zero JavaScript and zero CSS loaded on the front end. The output is a small static block of <meta> tags inside <head> - typically under 1 KB. Resolved data is cached via the object cache when available.
Yes - products emit og:type=product plus product:price:amount, product:price:currency, product:availability, and product:retailer_item_id.
Use the Tools 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.
Yes. Go to Settings → Open Graph → Tools, pick your source plugin, and click Run import. We support Yoast, Rank Math, All in One SEO, SEOPress, and The SEO Framework.
Yes - Text Domain: simple-open-graphs. A .pot file is included in /languages.
Yes. Call GET /wp-json/sog/v1/meta?url=<absolute-url> from your headless frontend to get a ready-to-render JSON payload.
Yes. wp sog show <post>, wp sog import <source>, wp sog reset.
Yes. Each translation has its own metabox values and emits the correct og:locale automatically.
Use filters: sog_meta_tags, sog_resolved_data, sog_enabled_post_types, sog_should_render, sog_remove_duplicate_tags. Hooks documented in the plugin source.
Open a thread on WordPress.org. Include your PHP/WP versions and which SEO plugin (if any) is active.
og:type=product, price, currency, availability, SKU)./sog/v1/meta for headless WordPress.wp sog show, wp sog import, wp sog reset).sog_title, sog_description, sog_image_url, …) - no data is lost.sog_meta_tags, sog_resolved_data, sog_enabled_post_types, sog_should_render, sog_remove_duplicate_tags.