這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Open Graph Images With Caption

外掛說明

This plugin add box to posts editor to easy generate an Open Graph images from the post featured images and captions. In popular social networks that support Open Graph or Twitter Cards (Facebook, Google+, Twitter, VK.com (Vkontakte), OK.ru (Odnoklassniki)), links to pages on your site will look noticeable. This should improve traffic.
Colors and styles are customizable. If post has no featured image, plugin uses solid color.

螢幕擷圖

  • Plugin settings in admin panel
  • Plugin image creator in posts editor
  • Preview post with OG tags: Faceboook
  • Preview post with OG tags: vk.com
  • Preview post with OG tags: twitter
  • Different styles

安裝方式

  1. Upload to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure settings (optional, but encouraged)

常見問題集

When does the plugin create an image for my new blog post?

When you save post and click “Create images” in metabox “Open Graph Image”.

How to create own styled Open Graph images?

In the future I want to add more different styles.
But there is one trick that allows you to use any image as Open Graph images: just put your images in the /wp-content/uploads/social dir with the following names:
xx-fb.jpg
xx-tw.jpg
Where “xx” – post or page ID. Image resolutions can be any, but i recommend 1200×630 for Facebook and 1024×512 for Twitter.
In other words, it is possible to activate my plugin and use third-party software to create any Open Graph images, they will be loaded automatically.

Why plugin not generate images automatically?

Because is so slowly. Might be take a time over default 60 seconds for PHP scripts, so might break saving post process.

How about compatibility with SEO plugins?

For SEO by Yoast you need uncheck “Generate all opengraph tags…” option, check “Enable Yoast SEO compatibility mode”. Then everything will be fine.
For other plugins that generate Open Graph tags, uncheck the option “Generate all opengraph tags…”. Also need to make sure that other plugins do not create the tags “og:image” and “twitter:image” in HTML code of pages.

How to correctly uninstall plugin?
  1. Delete plugin in WP dashboard – Plugins (as all WP plugins are usually removed).
  2. Delete folder with images: /wp-content/uploads/social.
    Done!

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Open Graph Images With Caption〉的開發相關工作。

參與者

將〈Open Graph Images With Caption〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.4

  • Fix for exclude archive and system pages

1.0.3

  • Improved Yoast SEO compatibility

1.0.2

  • Added images custom sizes
  • Fix plugin name in readme.txt
  • Small improvements and fixes

1.0.1

  • Added styles
  • Small improvements and fixes
  • Changes file naming strategy

1.0.0

  • Initial release