该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

安装

安装并激活插件。使用文章的设置,它将自动呈现og:image标签。

Additional metadata og:image:width and og:image:height is added.

此插件依赖于Open Graph Protocol 插件。如果尚未安装,请使用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.

常见问题

如何设置API端点和令牌

You can get it from https://ogpanic.com/ by filling the form on that page.

评价

2019 年 12 月 20 日
It generated OGP image automatically for each article including site logo, article title and so on. Because of just need to choice good image from image stock service, it’s make us reduce our work.
阅读所有1条评价

贡献者及开发者

“OGPanic” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「OGPanic」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“OGPanic”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.14

  • 添加了两个新主题

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

  • 更新翻译

1.0.7

  • Add link to settings from Installed Plugins page
  • Correctly sanitize and escape options