跳到內容
  • 登入
  • 註冊
WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 WordPress

外掛

  • 我的收藏
  • Beta測試
  • 開發者

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

下載

Open Graph Protocol Tools

由Joe Crawford
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

Adds Open Graph Protocol meta tags to individual content pages of your WordPress install. Works in coordination with “Like” buttons and “share” inside Facebook and other consumers of OGP metadata.

安裝

  1. Upload open-graph-protocol-tools/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. To add the “Like” module, use this code:
<?php
/**
 * Include this code on your theme for single blog posts (for example, in your single.php file)
 * or on your blogs main page to include a Facebook "Like" iframe
 */
if (function_exists('the_opengraphprotocoltools_like_code')):
   the_opengraphprotocoltools_like_code();
else:
    echo "<!-- opengraphprotocoltools is not activated -->";
endif;
?>

It would be best if in your theme you also added an attribute in the &lt;html&gt; tag, like this: &lt;html prefix="og: http://ogp.me/ns#"&gt;

常見問題

Is there a FAQ?

I’ve gotten some bug reports via GitHub, you can report bugs or make comments there.

For more information about Open Graph Protocol

Visit Open Graph Protocol.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Open Graph Protocol Tools” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • artlung
  • Pat Hawks

將 Open Graph Protocol Tools 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1

  • First version.

1.2

  • Changed instructions, fixes encoding errors for non-English content.

1.3

  • Improve issue with home vs front page

1.6

  • Improvements by pathawks to accommodate more types
  • Address double encoding issue with wptexturize modified values

1.7

  • Misc improvements I never enumerated and can’t remember. Whoops.

1.8

  • WordPress 5 compatibility check!

1.9

  • Support for tag archive pages

1.91

  • WordPress 5.5 compatible

其它

  • 版本:1.91
  • 最後更新:3 年之前
  • 運作中的安裝:90+
  • WordPress Version: 2.9 or higher
  • 已測試到版本:5.5.11
  • 語言:
    English (US)
  • 標籤:
    facebookmetadata
  • 進階顯示

評分

顯示全部
  • 5星 1
  • 4星 0
  • 3星 0
  • 2星 0
  • 1星 0
Log in to submit a review.

貢獻者

  • artlung
  • Pat Hawks

支援

有話想說?需要協助?

檢視支援論壇

捐贈

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 寄存
  • 贊助基金會
  • Swag
  • 線上說明
  • 開發者資源
  • 共同參與
  • Learn
  • 展示網站
  • 外掛
  • 佈景主題
  • 區塊版面配置
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • 隱私權
  • Public Code
WordPress.org
WordPress.org

Hong Kong 香港中文

  • 訪問我們的 Facebook 專頁
  • 訪問我們的 Twitter 帳戶
  • Visit our Instagram account
  • Visit our LinkedIn account
代碼就是詩歌。