Linux 软件免费装
Banner图

OG — Better Share on Social Media

开发者 iworks
更新时间 2024年4月3日 18:19
捐献地址: 去捐款
PHP版本: 8.0 及以上
WordPress版本: 6.5
版权: GPLv3 or later
版权网址: 版权信息

标签

social media Facebook Twitter Open Graph OpenGraph

下载

2.5.0 2.5.1 2.5.2 2.5.3 2.6.1 2.6.2 2.7.0 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.9 2.8.0 2.8.1 2.8.2 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 3.0.3 2.7.1 3.3.0 2.9.8 2.4.7 2.2 2.6.0 2.7.8 2.9.1 2.9.2 2.9.3 2.9.5 2.9.7 2.3 2.4.1 2.4.6 2.8.9 2.9.4 2.9.9 3.1.2 3.1.3 3.1.5 3.1.8 2.9.0 3.1.7 1.0 2.1 2.4 2.4.5 3.0.1 3.0.2 3.2.0 3.1.0 3.2.1 2.4.2 2.4.8 3.1.1 2.9.6 3.0.0 3.2.4 3.2.5 3.1.4 3.2.2 3.2.3 2.0 2.4.9 3.2.6 3.2.7 2.4.3 2.4.4 2.8.3 3.1.6 3.1.9

详情介绍:

No configuration, pure power. We believe this plugin is the best option for beginners because it has no configuration, you need only install and activate it - all magic will be done! See room for improvement? Great! There are several ways you can get involved to help make OG better:
  1. Report Bugs: If you find a bug, error or other problem, please report it! You can do this by creating a new topic in the plugin forum. Once a developer can verify the bug by reproducing it, they will create an official bug report in GitHub where the bug will be worked on.
  2. Suggest New Features: Have an awesome idea? Please share it! Simply create a new topic in the plugin forum to express your thoughts on why the feature should be included and get a discussion going around your idea.
  3. Issue Pull Requests: If you're a developer, the easiest way to get involved is to help out on issues already reported in GitHub. Be sure to check out the contributing guide for developers.
Thank you for wanting to make OG better for everyone!

安装:

There are 3 ways to install this plugin: The super-easy way
  1. Login to your WordPress Admin panel.
  2. Go to Plugins > Add New.
  3. Type ‘OG’ into the Search Plugins field and hit Enter. Once found, you can view details such as the point release, rating, and description.
  4. Click Install Now. After clicking the link, you’ll be asked if you’re sure you want to install the plugin.
  5. Click Yes, and WordPress completes the installation.
  6. Activate the plugin.
  7. That's all. The plugin does not have any configuration.
The easy way
  1. Download the plugin (.zip file) on the right column of this page
  2. In your Admin, go to the menu Plugins > Add
  3. Select the button Upload Plugin
  4. Upload the .zip file you just downloaded
  5. Activate the plugin
  6. That's all. The plugin does not have any configuration.
The old and reliable way (FTP)
  1. Upload OG folder to the /wp-content/plugins/ directory
  2. 通过 WordPress 的的“Plugins”菜单激活插件
  3. That's all. The plugin does not have any configuration.

常见问题:

How do I configure the Open Graph plugin?

There is nothing to configure and there is no admin page. By default, it will use standard WordPress data which can populate the Open Graph.

I installed OG and ... nothing happens!

Please be patient, sometimes you need more a day to see results. The reason for this is the cache on Facebook. But check your plugins too and if you use caching plugins, try to do "flush cache" on your site. You can force FB to refresh OpenGraph data by using this page https://developers.facebook.com/tools/debug/sharing/. Just go to Sharing Debugger, enter your URL and hit the button "Scrap Again".

What is OpenGraph?

The Open Graph protocol enables any web page to become a rich object in a social graph.  Most notably, this allows for these pages to be used with Facebook's Like Button and Graph API. The Open Graph plugin inserts the Open Graph metadata into the page head section and provides filters for other plugins and themes to override this data, or to provide additional Open Graph data.

What plugin add for all types of content?

  • og:locale - site locale
  • og:site_name - blog title
  • og:title - post/page/archive/tag/... title
  • og:url - the post/page permalink
  • og:type - "article" for single content and "website" for all others
  • og:description - site description
  • og:site_name - site name

What plugin add for single content?

All above and more:

  • og:image: From a 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 in the options menu. The same image chosen here will be used in the enclosure and media:content of the RSS feed.
  • og:video - add links to YouTube movies.
  • article:author - author of post link
  • article:published_time - date of first article publication
  • article:modified_time - date of last article modification
  • article:tag - tags used in the post
  • twitter:card - summary
  • twitter:title - the same line as og:title
  • twitter:description - the same as og:description
  • twitter:image - the same as og:image
  • twitter:player - the same as og:video
  • og:see_also - Pinterest related if you use the supported "related posts" plugin.

What plugin should I add for a single WooCommerce product?

All above and more:

  • og:price:amount - price amount
  • og:price:currency - price currency
  • og:availability - stock status

How plugin get video data?

The plugin grabs data from the content, and if it contains a YouTube URL, it tries to get a movie thumbnail and use it in og:image. If the post contains YouTube or Vimeo links, this plugin saves it as a post meta video thumbnail link and adds it to og:image as a post thumbnail.

I want to set og:image manually

Please install small add-on: OG — Addon: og:image. The new meta box on the side should allow you to choose the og:image manually.

If I need to change some values?

You can use the Simple SEO Improvements plugin, which is integrated with OG, to:

  • set a default image
  • set facebook app_id
  • set twitter id
Experimental You can use not supported meta tags:
  • og:logo - to turn on use add_filter( 'allow_og_logo', '__return_true' ).
I need more! Rich filter implementation allows you to change almost every output of this plugin, but this is for technicians: Learn more on the OG Plugin Documentation Site.

更新日志:

Project maintained on github at iworks/og. 3.3.0 (2024-02-14) 3.2.7 (2023-12-21) 3.2.6 (2023-12-01) 3.2.5 (2023-11-20) 3.2.4 (2023-11-02) 3.2.3 (2023-06-09) 3.2.2 (2023-05-30) 3.2.1 (2023-04-18) 3.2.0 (2023-04-18) 3.1.9 (2022-11-21) 3.1.8 (2022-11-08) 3.1.7 (2022-08-16) 3.1.6 (2022-08-05) 3.1.5 (2022-06-23) 3.1.4 (2022-06-02) 3.1.3 (2022-05-11) 3.1.2 (2022-02-25) 3.1.1 (2022-02-24) 3.1.0 (2022-02-23) 3.0.3 (2022-02-23) 3.0.2 (2022-02-12) 3.0.1 (2022-02-10) 3.0.0 (2022-02-09) 2.9.9 (2022-02-08) 2.9.8 (2022-02-08) 2.9.7 (2022-02-03) 2.9.6 (2022-01-20) 2.9.5 (2021-12-29) 2.9.4 (2021-11-19) 2.9.3 (2021-11-08) 2.9.2 (2021-06-30) 2.9.1 (2021-06-23) 2.9.0 (2021-03-31 2.8.9 (2020-10-21) 2.8.8 (2020-10-16) 2.8.7 (2020-10-05) 2.8.5 (2020-06-20) 2.8.4 (2020-06-20) 2.8.3 (2020-06-03) 2.8.2 (2020-06-03) 2.8.1 (2020-06-03) 2.8.0 (2020-06-03) 2.7.9 (2020-06-02) 2.7.8 (2020-06-02) 2.7.7 (2020-06-01) 2.7.6 (2019-08-18) 2.7.5 (2019-05-15) 2.7.4 (2019-04-25) 2.7.3 (2019-04-23) 2.7.2 (2019-04-13) 2.7.1 (2019-04-13) 2.7.0 (2018-10-21) 2.6.2 (2018-10-11) 2.6.1 (2018-09-06) 2.6.0 (2018-06-04) 2.5.3 (2018-05-09) 2.5.2 (2018-05-08) 2.5.1 (2018-04-16) 2.5.0 (2018-04-14) 2.4.9 (2018-02-27) 2.4.8 (2018-02-19) 2.4.7 (2017-09-26) 2.4.6 (2017-09-13) 2.4.5 (2017-06-13) 2.4.4 (2017-05-20) 2.4.3 (2017-05-09) 2.4.2 (2017-05-03) 2.4.1 (2016-10-26) 2.4.0 (2016-04-10) 2.3.0 (2016-02-03) 2.2.0 (2015-08-19) 2.1.0 (2015-05-21) 2.0.0 (2014-12-11) 1.0.0 (2014-10-02) Init.