Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 30 lines (22 sloc) 1.061 kB
b7e724e @spf13 initial commit
authored
1 === GitHub Code Viewer 2 ===
2
3 Contributors: spf13, mattc78
4 Tags: github, snippet, code
5 Requires at least: 3.0
6 Tested up to: 3.0.2
7 Stable tag: trunk
8 Author URI: http://spf13.com
9
2c840e4 @spf13 cleaning up the readme
authored
10 GitHub Code Viewer 2 automatically pulls a file from github and places into any post using a shortcode
b7e724e @spf13 initial commit
authored
11
12 == Description ==
13
14 GitHub Code Viewer 2 automatically pulls a file from github and places into any post using a shortcode [github_cv url='$url']
15 Caches locally (in db), so there isn't a performance hit.
16 Heavily Modified from original plugin by Matt Curry (http://www.pseudocoder.com)
17
18 == Installation ==
19
20 1. Upload `GitHub_Code_Viewer.php` to the `/wp-content/plugins/` directory
21 2. Activate the plugin through the 'Plugins' menu in WordPress
22 3. Use the shortcode [github_cv url='<URL TO FILE ON GITHUB>'] in your post.
5a50e5f @spf13 updated readme
authored
23
24 == Changelog ==
2c840e4 @spf13 cleaning up the readme
authored
25 = 2.0 =
26 * Rewrote as a static class as only one instance is needed.
27 * Rewrote to use short codes rather than a filter.
28 * Cleaned up code and organized a bit better.
29 * Allowed ttl as a configurable setting.
Something went wrong with that request. Please try again.