Infovarious Post Cover Generator
Creates a featured image from the post title, categories and site URL when a post has none, and re-creates it on change.
Install in
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.
Written by Joobi from the project's own listing. See the source page
1.1.0
- New settings screen: background (gradient or single color), gradient direction, text color, site URL style, live preview.
- New button to re-create the images made by this plugin with the current design.
- Seven gradient directions: top to bottom, bottom to top, left to right, right to left, diagonal, center to outside, outside to center.
- The default design is the same as in 1.0.0.
1.0.0
- First release.
Follow this listing's changes (Atom feed)