该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

oEmbed Gist

描述

  • Embed your source from gist into WordPress easily.
  • You simply have to paste the URL of your Gist.
  • You can embed a specific revision of the Gist.
  • You can embed an individual file that is part of a multi-file Gist.

Summary

You can embed your program sources from gist by simply pasting the URL like below.

  • https://gist.github.com/973153
  • https://gist.github.com/973153#file_select_media.html

Support

屏幕截图

  • Copy URL from gist.github.com.
  • You simply paste URL into WordPress.
  • It just appears!

安装

  • A plugin installation screen is displayed on the WordPress admin panel.
  • It installs it in wp-content/plugins.
  • The plugin is made effective.

常见问题

Installation Instructions
  • A plugin installation screen is displayed on the WordPress admin panel.
  • It installs it in wp-content/plugins.
  • The plugin is made effective.

评价

2017年10月1日
Found recently that other gist embed solutions are starting to fail whereas this one is working great!
2017年5月31日
I love this plugin. Makes my life easy as a code blogger.
2016年9月3日
A huge thanks for making this awesome plugin. Hopefully you will maintain this in future too. BTW IMO this feature should be included in WP Core.
阅读所有18条评价

贡献者及开发者

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

贡献者

“oEmbed Gist”插件已被翻译至5种本地话语言。 感谢所有译者为本插件所做的贡献。

将“oEmbed Gist”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

4.9

  • Load CSS and JS only when the Gists is in the content.

4.8

  • Displays output link when it is used with wp-amp. Thanks @emirpprime

4.7.1

4.7.0

  • Testedn on WordPress 4.7
  • Sync version number with WordPress core.

2.0.4

  • Tested on WordPress 4.5

2.0.2

  • Auto deploy.

2.0.1

  • Add Chinese translation. Thanks dallaslu!!

2.0.0

  • Leave a link to gist when is_feed().
  • Update tests.
  • Add readme.md

https://github.com/miya0001/oembed-gist/compare/1.9.0…2.0.0

1.9.0

  • Got it to work on Press This.

1.8.1

  • Tested on WordPress 4.3

1.8.0

  • Fix responsive css.
  • Add feature embedding gist’s revision.

1.7.0

  • Fix css styles for twentyfifteen.

1.6.1

  • Tested up to 4.0

1.6.0

  • https://github.com/miya0001/oembed-gist/compare/1.5.0…1.6.0

1.5.0

  • Fix problem with JetPack 2.9. Thanks rickrduncan for patch.

1.4.0

  • fixed for new permalink structure.

1.3.0

  • Some fix.

1.2.0

  • Fixed to specification changes of Gist.

1.1.0

  • Add support NOSCRIPT

0.1.0

  • The first release.