
內容簡介
此外掛可增進你的 WordPress 頁面、文章、WooCommerce 商品或任何其他文章類型在社群媒體上的分享,透過設定正確的 Facebook Open Graph 標籤。
此外掛也允許你添加 Twitter Card 標籤,以獲得更有效和高效的 Twitter 分享結果,如果沒有其他 SEO 相關的外掛設定,也可以添加元描述和標籤。
此外掛並未與 Facebook、Twitter、Google 或任何其他第三方相關聯或贊助。
你也可以選擇在 RSS 源代碼中插入「附件」和「媒體:內容」標籤,這樣像 RSS Graffiti 和 twitterfeed 這樣的應用程式就可以正確地在 Facebook 上張貼圖片。
此外掛允許使用者選擇要包含哪些標籤,以及默認圖片(如果文章/頁面沒有圖片)。
此外掛也可以在圖片上添加浮水印/標誌。此外掛會將原始圖像調整大小和剪裁為1200x630,然後在上面疊加選定的1200x630 PNG 檔案。
向 Facebook 分享連結時,在圖片上添加品牌標誌是有用的。
設定頁面在「選項」下方保持低調。
所生成的(Facebook)Open Graph 標籤如下:
og:title:從文章/頁面/存檔/標籤標題中獲取
og:site_name:從網誌標題中獲取
og:url:從文章/頁面永久連結中獲取
og:description:從文章/頁面指定的自訂欄位中獲取,或者如果有,使用文章/頁面摘要,或從性內容中獲取。從分類/標籤頁面的說明中獲取(如果存在)。從標語或自訂文字中獲取(在其他所有地方都是如此)
og:image: 從文章/頁面指定的自訂欄位中獲取,或者如果有,使用文章/頁面的特色/縮略圖像,或者如果不存在,從文章內容中的第一個圖像中獲取,或者如果不存在,從文章媒體庫的第一個圖像中獲取,或者如果不存在,從在選項菜單中定義的默認圖像中獲取。在此選擇的相同圖像也將用於 RSS 源代碼中的 enclosure / media:content。
og:image:url:與 og:image 相同
og:image:secure_url:如果使用 SSL,則與 og:image 相同
og:image:width 和 og:image:height:圖像尺寸
og:type:首頁為「website」或「blog」、「product」用於 WooCommerce 商品,其他所有都為「article」
article:author:從使用者(文章作者)的 Facebook 個人資料 URL 中獲取
article:published_time:文章發佈時間(僅限文章)
article:modified_time 和 og:updated_time:文章修改時間(僅限文章)
article:section:從文章類別中獲取
article:publisher:網站 Facebook 專頁 URL
og:locale:從 WordPress 語言定區或使用者選擇中獲取
fb:admins:從設定選項螢幕上獲取
fb:app_id:從設定選項螢幕上獲取
og:price:amount 和 og:price:currency:WooCommerce 商品價格
生成的 Twitter 卡片標籤如下:
twitter:title:與 og:title 相同
twitter:url:與 og:url 相同
twitter:description:與 og:description 相同
twitter:image:與 og:image 相同
twitter:creator:從使用者(文章作者)Twitter 賬戶中獲取
twitter:site:網站 Twitter 賬戶
twitter:card:具有值「summary_large_image」或「summary」
其他標籤如下:
canonical:與 og:url 相同
meta description:與 og:description 相同
meta author:從使用者(文章作者)中獲取
外掛標籤
開發者團隊
② 後台搜尋「Open Graph and Twitter Card Tags」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
This plugin improves the sharing of your WordPress pages, posts, WooCommerce products, or any other post type on social media, by setting the correct Facebook Open Graph Tags.
It also allows you to add the Twitter Card tags for more effective and efficient Twitter sharing results, as well as the Meta Description and Canonical tags if no other SEO plugin is setting them.
This plugin is not, in any way, affiliated or endorsed by Facebook, Twitter, Google or any other 3rd party.
You can also choose to insert the “enclosure” and “media:content” tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
It allows the user to choose which tags are included, and also the default image if the post/page doesn’t have one.
It’s also possible to add an overlay logo/watermark to the image. The plugin will resize and crop the original image to 1200×630 and then overlay the chosen 1200×630 PNG file over it.
It be usefull to add your brand to the image that shows up on Facebook shared links.
Our settings page is discreetly kept under “Options”.
The generated (Facebook) Open Graph Tags are:
og:title: From post/page/archive/tag/… title.
og:site_name: From blog title.
og:url: From the post/page permalink.
og:description: From our specific custom field of the post/page, or if not set post/page excerpt if it exist, or from post/page content. From category/tag description on its pages, if it exist. From tagline, or custom text, on all the others.
og:image: From our specific custom field of the post/page, or if not set from the post/page featured/thumbnail image, or if it doesn’t exist from the first image in the post content, or if it doesn’t exist from the first image on the post media gallery, or if it doesn’t exist from the default image defined on the options menu. The same image chosen here will be used and enclosure/media:content on the RSS feed.
og:image:url: Same as og:image.
og:image:secure_url: Same as og:image if SSL is being used.
og:image:width and og:image:height: Image dimensions.
og:type: “website” or “blog” for the homepage, “product” for WooCommerce products and “article” for all the others.
article:author: From the user (post author) Faceboook Profile URL.
article:published_time: Article published time (for posts only)
article:modified_time and og:updated_time: Article modified time (for posts only)
article:section: From post categories.
article:publisher: The website Facebook Page URL.
og:locale: From WordPress locale or chosen by the user.
fb:admins: From settings on the options screen.
fb:app_id: From settings on the options screen.
og:price:amount and og:price:currency: Price on WooCommerce products.
The generated Twitter Card Tags are:
twitter:title: Same as og:title.
twitter:url: Sames as og:url.
twitter:description: Same as og:description.
twitter:image: Same as og:image.
twitter:creator: From the user (post author) Twitter account.
twitter:site: The website Twitter account.
twitter:card: With value “summary_large_image” or “summary”.
Other Tags:
canonical: Same as og:url.
meta description: Same as og:description.
meta author: From the user (post author) Display Name.
meta publisher: From the website title.
enclosure: On RSS feeds, same as og:image.
media:content: On RSS feeds, same as og:image.
3rd Party Integration:
Yoast SEO: Allows you to use the title, URL (canonical), and description from the Yoast SEO plugin.
WooCommerce: On product pages sets og:type to “product” and adds the price including tax to the product:price and product:availability tags. Also allows you to use the Product Category thumbnails as Open Graph Image and have Product Gallery images as additional Open Graph Images
WooCommerce Brands: On brand pages uses the brand image as Open Graph Image
Business Directory Plugin (deprecated): Allows you to use BDP listing contents as Open Graph Tags.
