
外掛標籤
開發者團隊
② 後台搜尋「Creotec Title Card Images for Open Graph」→ 直接安裝(推薦)
原文外掛簡介
Creotec Title Card Images for Open Graph creates a generated JPEG or WebP image for supported
posts, pages, and public custom post types by combining the content title with
the featured image. Oversized featured images are resized to a maximum width of
1200px before the generated image is saved. The generated image is stored in:
wp-content/uploads/creotec-title-card-images-for-open-graph/
The plugin updates Open Graph image metadata for:
og:type
og:title
og:url
og:image
og:image:width
og:image:height
og:image:type
When Yoast SEO is active, the plugin uses Yoast’s Open Graph filters for the
generated image. On supported singular content, it also checks wp_head output,
replaces existing Open Graph image tags with the generated image tags, and adds
only missing required non-image Open Graph tags. This allows it to work with SEO
plugins and themes that already output Open Graph metadata.
The generated image is refreshed when the post title changes, when the featured
image changes, when the featured image is removed, or when the plugin settings
change.
Settings
Go to Settings > Creotec Title Card Images for Open Graph.
Available options:
Title position: above, below, or middle of the featured image.
Title text colour.
Title background colour.
Additional text: optional single-line text shown below the title.
Additional text colour.
Title font size, with automatic sizing available.
Additional text font size, with automatic sizing available.
Generated image format: JPEG or WebP when supported by the server.
Admin Posts List
The plugin adds an Open Graph Image column to the admin posts list. The column uses
icons to show whether a generated image exists, is missing, is stale, or cannot
be generated because the post has no featured image. Missing images are shown as
a neutral status with an action icon to generate the image.
The posts list also includes a Generate Open Graph Images bulk action.
Notes
The plugin uses PHP GD to generate images. TrueType text is used when a readable
font is available. Open Sans Bold is bundled and used by default for consistent
rendering across environments. You can provide a specific font with the
creotcog_font_file filter.
The bundled Open Sans font is distributed under the SIL Open Font License in
assets/fonts/OFL.txt.
By default, public post types that support featured images are handled,
including posts, pages, and eligible custom post types. Developers can narrow or
adjust this with the creotcog_supported_post_types filter.
License
This plugin is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This plugin is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Credits
Developed and maintained by Michael Gbadebo @ Creotec Limited.
