开发者 | schwarttzy |
---|---|
更新时间 | 2025年8月30日 07:32 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 6.8 |
版权: | GPL-2.0-or-later |
版权网址: | 版权信息 |
schwarttzys-open-graph
folder to the /wp-content/plugins/
directory.<?php wp_head(); ?>
in its header.php
file for meta tags to render.Go to Settings > Schwarttzy’s Open Graph and enter the full URL of your default image (e.g., https://example.com/default-image.jpg). This image is used when a post or page lacks a featured image.
The plugin adds the following Open Graph meta tags:
og:title
: Post/page title or site name (front page).og:description
: Excerpt or content trimmed to 55 words (posts/pages), or site description (front page).og:image
: Featured image or default image URL.og:url
: Post/page permalink or home URL.og:type
: "article" (posts/pages) or "website" (front page).og:site_name
: Site name.article:published_time
: Post publication date (posts/pages only).It may conflict with plugins like Yoast SEO or All in One SEO that also add Open Graph tags. Disable conflicting features in other plugins to avoid duplicate tags.
Yes, upload an image to your server and enter its full URL in the Settings > Schwarttzy’s Open Graph page.