Embed GitHub Gist

Embed GitHub Gists into WordPress.

Author:Dragonfly Development (profile at wordpress.org)
WordPress version required:2.8.6
WordPress version tested:3.5
Plugin version:0.13
Added to WordPress repository:24-08-2010
Last updated:13-12-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:4
Plugin URI:http://wordpress.org/extend/plugins/embed-git...
Total downloads:10 864
Active installs:400+
plugin download
Click to start download

This project is available for forking on GitHub:

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.


[gist id=546764]
[gist id=546764 file=file.txt]
[gist id=546764 file=file.txt bump=1]

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