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

LH OGP Meta

描述

This plugin adds accurate Open Graph Meta tags and the Facebook specific meta tags to your site. The idea is to keep minimal settings and options as to remain out of your way and in the background while still proving the options you need to share content flexibly. Without the bloat of some other plugins.

Image Handling

if the post page or CPT is singular it firstly look for the OGP image specified on the post edit screen image. It will then look for the featured image. If that isn’t there either, then it will default to using the site icon image (usually set under Appearance->Customiser. If THAT isn’t there then… well you fail and you won’t have an image.

Description Handling

The plugin looks in three places for an Open Graph description.

  1. The OGP description in the sidebar
  2. if the above is not specified it will try to use the post excerpt.
  3. If the above aren’t specified it will use the post content (stripped of invalid tags).

Testing Your Site

Once you’ve enabled the plugin head over to Facebook’s testing tool and paste in one of your post/page url’s or your home page to see what info Facebook is pulling in. This tool is located here: https://developers.facebook.com/tools/debug

Check out our documentation for more information.

All tickets for the project are being tracked on GitHub.

Features:

  • Select a post image specifically for sharing
  • Handles Facebook specific meta like fb:admins and fb:app_id
  • maps different users to different article:author properties
  • Automatic generation of the description or add a custom description

安裝

  1. Upload the entire lh-ogp-meta-tags folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Optionally navigate to Settings->LH OGP Meta and set the image and optionally, the facebook meta
  4. Optionally navigate to the User profile page and add the users facebook url.

常見問題

Installation Instructions
  1. Upload the entire lh-ogp-meta-tags folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Optionally navigate to Settings->LH OGP Meta and set the image and optionally, the facebook meta
  4. Optionally navigate to the User profile page and add the users facebook url.

評價

2017年4月6日
Again works on the latest version of WordPress Update WordPress V4.7.3 Working again, Good work! Update WordPress V4.6.1 Working again, Good work! Good Software 1.63 -> Working yes Bad Bug Software Bug work lazzy down developement 1.64 -> Not working in the 4.6.1 Warning Alert: Bad Update While Sreen Broken Software. Sistem stop work before instaling last version. Solution: DELETE -> 1.64 broken bad TERROR update lazzy down. Good Software 1.63 -> Working yes & wait for update issues this broken bad TERROR in the 1.64 update.
閱讀全部1個評價

貢獻者及開發者

“LH OGP Meta” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 LH OGP Meta 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0 September 08, 2015
Initial release.

1.1 September 17, 2015
Add settings link

1.2 November 7, 2015
Fixed JS

1.32 March 7, 2016
Added custom description

1.40 March 10, 2016
Use Site Icon

1.50 March 28, 2016
Major bug fix

1.51 April 02, 2016
Documentation

1.60 April 18, 2016
complete OOP rewrite

1.62 April 19, 2016
Bug Fix

1.63 May 12, 2016
Escape Attribute and sanitize

1.64 October 10, 2016
Added AMP check for xmlns output

1.66 October 12, 2016
Bugfix for amp check

1.67 April 2, 2017
Minor bugfixes and moved options to own file

1.68 May 04, 2017
Added nonce

1.70 September 10, 2017
Added additional images

1.72 October 18, 2017
Code simplification

1.73 November 30, 2017
Added locale