开发者 | dholloran |
---|---|
更新时间 | 2013年5月11日 21:09 |
捐献地址: | 去捐款 |
PHP版本: | 3.1 及以上 |
WordPress版本: | 3.5 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[wpgrc username="username"]
in your post editor, or by adding <?php wpgrc( array( 'username' => 'username' ); ?>
. You can checkout a live demo of all three [here]demo and get more information about all three under the installation tab.
Plugin Home Page: http://dholloran.github.com/wp-github-recent-commit/
If you have any issues please submit an issue or fix it/submit a pull request I will try to handle it ASAP. You an also contact me at support@danholloran.com.
wp-github-recent-commit
to the /wp-content/plugins/
directoryif ( function_exists('wpgrc') ) { wpgrc( array( 'id' => "1", // optional, used for caching purposes 'username' => '', // required, it just won't work with out it 'repository' => "", // optional, if not it will just be the last commit from all repos for the username 'refresh_interval' => "0.5", // optional default 0.5hrs aka 30min 'show_octocat' => "true", // optional boolean default true 'octocat_width' => "100", // optional int default 100 'octocat_height' => "100", // optional int default 100 'commit_count' => "1", // optional int default 1 'show_avatar' => false // optional boolean default false ) ); }
Using the shortcode
[wpgrc id="1" username="" repository="" refresh_interval="0.5" show_octocat="true" octocat_width="100" octocat_height="100" commit_count="1" show_avatar="false"]