這個外掛並未在最新的 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.

評價

閱讀全部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