plugin-icon

Embed GitHub Gist

投稿者: dflydev·
Embed GitHub Gists into WordPress.
評価
5/5
バージョン
0.13
有効インストール数
100
最終更新日時
Dec 13, 2012

This project is available for forking on GitHub:

  • https://github.com/dflydev/embed-github-gist

Embed GitHub Gists into WordPress. Provides a shortcode for posts and pages but also has the ability to embed by hand in the event that a Gist needs to be embedded somewhere in the page that does not pass through the shortcode filters.

Examples:

[gist id=546764] [gist id=546764 file=file.txt] [gist id=546764 file=file.txt bump=1] [gist]http://gist.github.com/546764[/gist]

Cache is implemented with the Transients API to minimize delay on loading content. Default TTL (time to live) is 86400 seconds or one day.

Upcoming features:

  • Option for setting default TTL
  • Option to bypass cache entirely
  • Implement admin interface to control options
無料Business プランを利用中
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 3.5.2
このプラグインをダウンロードして、 サイトに使用できます。