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

OGPanic

外掛說明

OGPanic is an enhancement for WordPress posts when the links are shared on social media. Social medias like Facebook and Twitter using The Open Graph protocol to display featured image and title of the post.

OGPanic goes one step further: It adds the title and category info to the featured image and make your posts stand out when shared on social medias.

螢幕擷圖

  • Choose an theme and you are ready to go.

安裝方式

Install and activate the plugin. It will automatically render the og:image tag by using the post’s setting.

Additional metadata og:image:width and og:image:height is added.

This plugin depends on Open Graph Protocol plugin. If you haven’t installed that, install it with og-panic.

The following tags will be added by Open Graph Protocol

  • og:title : The page’s title is used, this provides the title for posts, pages, archives etc.
  • og:type : The type will be article in general, website for the front page and blog for the blog homepage.
  • og:url : The URL of the current page.
  • og:site_name : The name of the site.
  • og:description : Uses the full excerpt if available, otherwise derives it from the content. For author and archive pages, the type of page and title is used.
  • og:locale : The current locale.
  • og:locale:alternate : Indicates additional locales available if WPML is installed.

常見問題集

How to setup the API endpoint and token

You can get it from https://ogpanic.com/ by filling the form on that page.

使用者評論

2019 年 12 月 20 日
It generated OGP image automatically for each article including site logo, article title and so on. Because of just need to choice good image from image stock service, it's make us reduce our work.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈OGPanic〉的開發相關工作。

參與者

〈OGPanic〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈OGPanic〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.14

  • Two new themes added

1.0.13

  • Bump version to 1.0.13

1.0.12

  • [NEW] Choose different theme in post editor
  • [NEW] Disable OGPanic for certain post in post editor
  • [FIX] Fixed warning messages when there’s no OGPanic setting

1.0.11

  • Update translations

1.0.7

  • Add link to settings from Installed Plugins page
  • Correctly sanitize and escape options