跳到内容

Schwarttzy's Open Graph

v1.2

Schwarttzy · 2025年8月29日 上架

Adds Open Graph and Twitter Card meta tags to WordPress posts, pages, the front page, and blog posts index to enhance social media sharing.

正在使用
20+
评分
5.0 / 5
累计下载
5,048
最近更新
2026年6月13日
2 条评价需要 WordPress 5.2+已测试到 7.0.9PHP 7.4+

贡献者

截图

The settings page under Settings > Schwarttzy’s Open Graph where you can configure the default image URL (now with media uploader button) featuring Mousse, the chocolate lab.
The settings page under Settings > Schwarttzy’s Open Graph where you can configure the default image URL (now with media uploader button) featuring Mousse, the chocolate lab.

Schwarttzy’s Open Graph is a lightweight WordPress plugin that automatically adds Open Graph and Twitter Card meta tags to your website’s posts, pages, the front page, and blog posts index. These tags optimize content sharing on social media platforms like Facebook, LinkedIn, and Twitter/X by providing rich previews with titles, descriptions, images (with dimensions), and more.

Key Features in v1.2:
– Support for blog posts index page (when separate from static front page).
– Twitter Cards with dynamic card type (summary_large_image when image present, summary otherwise).
– Featured image dimensions (og:image:width and og:image:height) for faster social previews.
– Expanded article tags (article:modified_time and article:section).
– Shortcode stripping in descriptions for page builder compatibility.
– Media uploader button in settings page for easy default image selection.
– Improved context-aware conflict notice and admin UX.
– Developer-friendly filters (sog_title, sog_description, sog_image, sog_twitter_site, etc.).
– Textdomain loaded, wp_head priority adjusted, and full WordPress 7.0 compatibility.

The plugin remains simple, lightweight, and focused on delivering high-quality social previews.
– Ensure your theme includes <?php wp_head(); ?> in its header.php file for meta tags to render.
– Test shared links using tools like the Facebook Sharing Debugger.
– This plugin focuses on simplicity and performance while delivering best-in-class social sharing metadata. Developer filters allow further customization.

Support

For support, visit the WordPress.org support forum or contact the author at https://schwarttzy.com/contact-me/.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums