Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t 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.

WP Github Recent commit

Widget that grabs a random Octocat from the GitHub octodex and the latest commit from the master branch of a public GitHub repository.

  1. Upload wp-github-recent-commit to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

Using the widget 1. Go to Appearance > Widgets drag the WP Github Recent Commit widget to the sidebar area of your choice 2. Fill in your GitHub username and set the rest of the options

Using the function 1. Place this code in your template file 2. Add a user name and set any other options

if ( 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 1. Place in your admin editor [wpgrc id="1" username="" repository="" refresh_interval="0.5" show_octocat="true" octocat_width="100" octocat_height="100" commit_count="1" show_avatar="false"] 2. Add a user name and set any other options

Requires: 3.1 or higher
Compatible up to: 3.5.2
Last Updated: 4 years ago
Active Installs: Less than 10


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.