Infovarious Post Cover Generator
v1.1.0infovarious · 2026年11月20日 上架
Creates a featured image from the post title, categories and site URL when a post has none, and re-creates it on change. Colors are customizable.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 164
- 最近更新
- 2026年11月21日
需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+
贡献者
Infovarious Post Cover Generator gives every post a featured image without any design work. When you save a post that has no featured image, the plugin draws one: the post title on a blue gradient background (the colors are yours to choose), the categories at the bottom left and your site URL at the bottom right.
Features:
- Creates a 1200 x 630 JPEG, the size used by most social networks.
- Categories never run into the site URL: only the categories that fit are drawn, and the last one is shortened with an ellipsis.
- Re-creates the image when the title or the categories change. The previous automatically created image is deleted, so the media library does not fill up.
- Never touches an image you set yourself. Only images created by this plugin are replaced.
- Works with any theme. No shortcode and no template changes.
- Bundles the Noto Sans JP font (SIL Open Font License), so Japanese and Latin titles both render correctly.
- Settings screen (Settings > Post Cover Generator): choose a gradient or a single color, the gradient direction (top to bottom, bottom to top, left to right, right to left, diagonal, center to outside, outside to center), the text color and where the site URL goes, with a live preview.
- A button re-creates the images this plugin made, with the new design, without changing the post modified date.
- No external requests, no data sent anywhere.
Requirements: the PHP GD extension with FreeType support (included in most hosting).
Developer filters:
ivafi_should_generate( bool, WP_Post ) – return false to skip a post.ivafi_font_path( string ) – return the path of another TrueType/OpenType font.ivafi_url_style( string ) –corner(default: the site URL at the bottom right) orwatermark(a faint site URL running diagonally from the bottom left to the top right, behind the title).
Credits
The bundled font Noto Sans JP is licensed under the SIL Open Font License 1.1. The license text is in fonts/OFL.txt.