This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

GitHub Code Viewer 2


GitHub Code Viewer 2 automatically pulls a file from github and places into any post using a shortcode [github_cv url=’$url’]
Caches locally (in db), so there isn’t a performance hit.
Heavily Modified from original plugin by Matt Curry (


  1. Upload GitHub_Code_Viewer.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the shortcode [github_cv url=”] in your post.

Contributors & Developers

“GitHub Code Viewer 2” is open source software. The following people have contributed to this plugin.


Translate “GitHub Code Viewer 2” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Rewrote as a static class as only one instance is needed.
  • Rewrote to use short codes rather than a filter.
  • Cleaned up code and organized a bit better.
  • Allowed ttl as a configurable setting.