| 开发者 | peal333 |
|---|---|
| 更新时间 | 2026年9月26日 03:09 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
social-media-card-generator folder to /wp-content/plugins/.The plugin requires PHP GD with FreeType support. The functions imagettftext() and imagettfbbox() must be available. The WordPress uploads directory must also be writable.
1200 x 630 px is recommended for the common Open Graph 1.91:1 image ratio. Template source files are limited to 5 MB.
TrueType .ttf files are supported for custom fonts. Version 1.5.2 accounts for server-specific TTF MIME detection while keeping the temporary MIME allowance limited to the plugin's authenticated font-upload request. Uploaded files are checked for a TrueType signature and validated with the server's GD/FreeType implementation before being added to the font selectors.
Custom fonts are stored in wp-content/uploads/social-media-card-generator/fonts/. They are not added to the Media Library and the plugin does not globally enable font MIME types for other WordPress uploads.
Yes. The Title Typography and Description Typography sections each have their own font selector. Click Use Open Sans beside either selector to return that text layer to the bundled default, then save the settings.
The title defaults to #F0F8FF and the description defaults to #E0E0E0. Text shadow is disabled by default. These defaults match the previous hardcoded version of the plugin.
No. Cards are rendered locally on the WordPress server. Custom fonts remain on the site. The optional AIOSEO integration communicates only with the locally installed AIOSEO plugin.
When a compatible, active version of AIOSEO is detected, the post editor shows an optional checkbox above Generate Card. If checked, the newly generated Media Library image is saved as both the post's AIOSEO Facebook and Twitter/X Custom Image. The checkbox preference is remembered per WordPress user. Version 1.5.2 also synchronizes AIOSEO's live post-editor state so the current-page social fields update immediately without a page reload. The image-generation result and AIOSEO-update result are reported separately.
AIOSEO must be active and expose the supported post-model API. If it is inactive or too old, Social Media Card Generator displays a notice instead of the checkbox.
Site administrators are responsible for making sure they have permission to use uploaded fonts. Open Sans is bundled under the SIL Open Font License 1.1, and its license is included with the plugin.
aioseo_insert_post action after social-image updates.wp-data script dependency only on post-edit screens.