Title: Social Media Card Generator
Author: Panupan Sriautharawong
Published: <strong>2025-08-03</strong>
Last modified: 2026-09-21

---

Szukaj wtyczek

![](https://ps.w.org/social-media-card-generator/assets/icon-256x256.png?rev=3338585)

# Social Media Card Generator

 Autor: [Panupan Sriautharawong](https://profiles.wordpress.org/peal333/)

[Pobierz](https://downloads.wordpress.org/plugin/social-media-card-generator.1.5.4.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/social-media-card-generator/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/social-media-card-generator/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/social-media-card-generator/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/social-media-card-generator/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/social-media-card-generator/)

## Opis

Social Media Card Generator creates branded Open Graph/social sharing images directly
from the WordPress post editor. Choose a background template, configure your typography,
generate the card, and save it automatically to the WordPress Media Library.

Version 1.5.4 refines AIOSEO integration for WordPress.org Plugin Check compliance
while retaining WordPress 7.1-compatible title synchronization and backwards-compatible
editor behavior.

#### Features

 * Generate social sharing images from the WordPress post editor.
 * Use a custom Media Library image as the card template.
 * Configure title and description fonts independently, with one-click controls 
   to return either layer to bundled Open Sans.
 * Upload administrator-only TrueType (.ttf) fonts without enabling arbitrary font
   uploads across the Media Library.
 * Adjust font size, text color, vertical position, and left/center/right alignment.
 * Configure an optional text shadow; it is disabled by default.
 * Save generated cards as JPEG or PNG Media Library attachments.
 * Set JPEG quality.
 * Show a success message with the generated filename after saving.
 * Optionally set the generated card as both the AIOSEO Facebook and Twitter/X custom
   image when a compatible AIOSEO version is active.
 * Remember the AIOSEO social-image checkbox preference separately for each WordPress
   user.
 * Render locally with PHP GD; no remote rendering service is required.

The default typography matches the plugin’s previous hardcoded card style: title
color #F0F8FF, description color #E0E0E0, and no text shadow.

## Zrzuty ekranu

[⌊Redesigned settings page with template and typography controls.⌉⌊Redesigned settings
page with template and typography controls.⌉[

Redesigned settings page with template and typography controls.

[⌊Typography and custom-font controls.⌉⌊Typography and custom-font controls.⌉[

Typography and custom-font controls.

[⌊Post editor with remembered AIOSEO social-image option, Media Library success 
message, and generated-card preview.⌉⌊Post editor with remembered AIOSEO social-
image option, Media Library success message, and generated-card preview.⌉[

Post editor with remembered AIOSEO social-image option, Media Library success message,
and generated-card preview.

## Instalacja

 1. Upload the plugin ZIP from Plugins > Add New > Upload Plugin, or copy the `social-
    media-card-generator` folder to `/wp-content/plugins/`.
 2. Activate Social Media Card Generator.
 3. Go to Settings > Social Media Card Generator.
 4. Choose a template image. A 1200 x 630 px image is recommended.
 5. Configure the title, description, shadow, fonts, alignment, and output options.
 6. Save the settings.
 7. Edit a post, open the Social Media Card Generator panel, and click Generate Card.

New posts must be saved as a draft once before generation so WordPress has a post
ID for the generated Media Library attachment.

## Najczęściej zadawane pytania

### What server features are required?

The plugin requires PHP GD with FreeType support. The functions `imagettftext()`
and `imagettfbbox()` must be available. The WordPress uploads directory must also
be writable.

### What template size should I use?

1200 x 630 px is recommended for the common Open Graph 1.91:1 image ratio. Template
source files are limited to 5 MB.

### Which font formats can I upload?

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.

### Where are custom fonts stored?

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.

### Can the title and description use different fonts?

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.

### What are the default text colors?

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.

### Does this plugin send data to an external service?

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.

### How does the AIOSEO integration work?

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.

### Why is AIOSEO installed but the checkbox is unavailable?

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.

### Who is responsible for custom font licensing?

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.

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„Social Media Card Generator” jest oprogramowaniem open source. Poniższe osoby miały
wkład w rozwój wtyczki.

Zaangażowani

 *   [ Panupan Sriautharawong ](https://profiles.wordpress.org/peal333/)

[Przetłumacz wtyczkę “Social Media Card Generator” na swój język.](https://translate.wordpress.org/projects/wp-plugins/social-media-card-generator)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/social-media-card-generator/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/social-media-card-generator/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/social-media-card-generator/)
przez [RSS](https://plugins.trac.wordpress.org/log/social-media-card-generator/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.5.4

 * Removed the redundant direct invocation of AIOSEO’s internal `aioseo_insert_post`
   action after social-image updates.
 * Kept the verified AIOSEO model save and metadata-cache invalidation path, avoiding
   duplicate save side effects while satisfying WordPress Plugin Check hook-prefix
   requirements.

#### 1.5.3

 * Added iframe-safe card-title synchronization for the WordPress 7.1 block editor
   by reading the edited post title from the WordPress data store.
 * Kept the existing DOM-based title listener as a backwards-compatible fallback
   for Classic Editor and older editor implementations.
 * Added the WordPress `wp-data` script dependency only on post-edit screens.
 * Updated WordPress compatibility metadata through 7.1.

#### 1.5.2

 * Restored the full Social Media Card Generator meta-box title and native WordPress
   header spacing.
 * Synced AIOSEO’s current-page Facebook and Twitter/X fields after successful generation
   without requiring a page reload.
 * Fixed valid TTF uploads on servers that report alternate font MIME types while
   keeping font MIME handling scoped to the plugin upload request.
 * Added TrueType signature and FreeType readability validation before storing custom
   fonts.
 * Added Use Open Sans controls for both title and description typography.

#### 1.5.1

 * Improved the post-editor meta-box header for narrow WordPress sidebars.
 * Fixed AIOSEO social-image updates by preserving the existing AIOSEO post model
   instead of sending a partial full-save payload.
 * Added Twitter/X custom-image updates alongside Facebook.
 * Added a per-user remembered AIOSEO social-image preference.
 * Added verification and cache invalidation after AIOSEO social-image updates.

#### 1.5.0

 * Added independent title and description font selection.
 * Added administrator-only TrueType font uploads stored in WordPress uploads.
 * Added title and description color controls with hardcoded-version defaults.
 * Added left, center, and right alignment.
 * Added optional configurable text shadow, disabled by default.
 * Redesigned the settings page and post-editor generator UI.
 * Added a success message containing the generated Media Library filename.
 * Fixed HTML entities showing in the title field.
 * Added optional AIOSEO Facebook-image integration.
 * Improved per-post permissions, sanitization, validation, and escaping.
 * Added the Open Sans license and refreshed documentation artwork.
 * Removed development-only files from the release package.

#### 1.4.2

 * Initial release.

## Meta

 *  Wersja **1.5.4**
 *  Ostatnia aktualizacja **4 tygodnie temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 5.0 lub nowszej **
 *  Testowano do **7.1.3**
 *  Wersja PHP ** 7.0 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/social-media-card-generator/)
 * Tagi
 * [facebook image](https://pl.wordpress.org/plugins/tags/facebook-image/)[open graph](https://pl.wordpress.org/plugins/tags/open-graph/)
   [social image](https://pl.wordpress.org/plugins/tags/social-image/)[social media card](https://pl.wordpress.org/plugins/tags/social-media-card/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/social-media-card-generator/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/social-media-card-generator/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/social-media-card-generator/reviews/)

## Zaangażowani

 *   [ Panupan Sriautharawong ](https://profiles.wordpress.org/peal333/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/social-media-card-generator/)