{"id":22524,"date":"2013-03-19T17:16:40","date_gmt":"2013-03-19T17:16:40","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-github-recent-commit\/"},"modified":"2013-05-11T13:09:00","modified_gmt":"2013-05-11T13:09:00","slug":"wp-github-recent-commit","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-github-recent-commit\/","author":9657799,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.1","stable_tag":"1.1.1","tested":"3.5.2","requires":"3.1","requires_php":"","requires_plugins":"","header_name":"WP Github Recent commit","header_author":"Dan Holloran","header_description":"","assets_banners_color":"","last_updated":"2013-05-11 13:09:00","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/danholloran.com\/","header_plugin_uri":"http:\/\/dholloran.github.com\/wp-github-recent-commit\/","header_author_uri":"http:\/\/danholloran.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1184,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>Initial Release<\/p>","1.0.1":"<p>Fixed issue with the owner Repo link having incorrect link.<\/p>","1.1.0":"<p>WPGRC now with shortcode and template function.<\/p>","1.1.1":"<p>Added the ability to show more than one commit and commit authors avatar.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0","1.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"701141","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"711355","resolution":"2","location":"assets"}},"screenshots":{"1":"screenshot1.png","2":"screenshot2.png"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[54076,1673,69108],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-22524","plugin","type-plugin","status-publish","hentry","plugin_tags-commit","plugin_tags-github","plugin_tags-octocat","plugin_committers-dholloran"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-github-recent-commit.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-github-recent-commit\/assets\/screenshot-1.png?rev=701141","caption":"screenshot1.png"},{"src":"https:\/\/ps.w.org\/wp-github-recent-commit\/assets\/screenshot-2.png?rev=711355","caption":"screenshot2.png"}],"raw_content":"<!--section=description-->\n<p>Widget that grabs a random Octocat from the GitHub octodex and the latest commit from the master branch of a public GitHub repository.  It can be used as a normal widget by going to Apperance &gt; Widgets, by adding the shortcode <code>[wpgrc username=\"username\"]<\/code> in your post editor, or by adding <code>&lt;?php wpgrc( array( 'username' =&gt; 'username' ); ?&gt;<\/code>.  You can checkout a live demo of all three [here]<a href=\"http:\/\/demo.danholloran.com\/github-commit-widget-demo\/\">demo<\/a> and get more information about all three under the installation tab. <strong>Plugin Home Page:<\/strong> <a href=\"http:\/\/dholloran.github.com\/wp-github-recent-commit\/\">http:\/\/dholloran.github.com\/wp-github-recent-commit\/<\/a>\nIf you have any issues please submit an <a href=\"https:\/\/github.com\/DHolloran\/wp-github-recent-commit\/issues\/new\">issue<\/a> or fix it\/submit a pull request I will try to handle it ASAP. You an also contact me at <a href=\"mailto:&#115;&#117;&#x70;&#x70;o&#114;&#116;&#064;&#x64;&#x61;n&#104;&#111;&#x6c;&#x6c;&#x6f;r&#097;&#110;&#x2e;&#x63;&#x6f;&#109;\">support@danholloran.com<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>wp-github-recent-commit<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n <p><strong>Using the widget<\/strong>\n1. Go to Appearance &gt; 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<\/p>\n <p><strong>Using the function<\/strong>\n1. Place this code in your template file 2. Add a user name and set any other options     if ( function_exists('wpgrc') ) {         wpgrc( array(             'id'                =&gt;  \"1\", \/\/ optional, used for caching purposes             'username'          =&gt;  '', \/\/ required, it just won't work with out it             'repository'        =&gt;  \"\", \/\/ optional, if not it will just be the last commit from all repos for the username             'refresh_interval'  =&gt;  \"0.5\", \/\/ optional default 0.5hrs aka 30min             'show_octocat'      =&gt;  \"true\", \/\/ optional boolean default true             'octocat_width'     =&gt;  \"100\", \/\/ optional int default 100             'octocat_height'    =&gt;  \"100\", \/\/ optional int default 100             'commit_count'          =&gt;  \"1\", \/\/ optional int default 1             'show_avatar'               =&gt;  false  \/\/ optional boolean default false         ) );     }<\/p>\n <p><strong>Using the shortcode<\/strong>\n1. Place in your admin editor <code>[wpgrc id=\"1\" username=\"\" repository=\"\" refresh_interval=\"0.5\" show_octocat=\"true\" octocat_width=\"100\" octocat_height=\"100\" commit_count=\"1\" show_avatar=\"false\"]<\/code>\n2. Add a user name and set any other options<\/p>\n\n<!--section=faq-->\n<p>None so far... If you have any issues please submit an <a href=\"https:\/\/github.com\/DHolloran\/wp-github-recent-commit\/issues\/new\">issue<\/a> or fix it\/submit a pull request I will try to handle it ASAP. You an also contact me at <a href=\"mailto:&#115;&#117;&#x70;&#x70;o&#114;&#116;&#064;&#x64;&#x61;n&#104;&#111;&#x6c;&#x6c;&#x6f;r&#097;&#110;&#x2e;&#x63;&#x6f;&#109;\">support@danholloran.com<\/a>.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n <ul>\n<li>Initial Release<\/li>\n<\/ul>\n <h4>1.0.1<\/h4>\n <ul>\n<li>Fixed issue with the owner Repo link having incorrect link.<\/li>\n<\/ul>\n <h4>1.1.0<\/h4>\n <ul>\n<li>Added WPGRC shortcode<\/li>\n<li>Added WPGRC template function<\/li>\n<li>Added cache refresh rate control<\/li>\n<li>Added ability to choose one repository to pull commits from<\/li>\n<\/ul>\n <h4>1.1.1<\/h4>\n <ul>\n<li>Added option for commit authors avatar<\/li>\n<li>Added option to show more than one commit<\/li>\n<\/ul>","raw_excerpt":"Widget that grabs a random Octocat from the GitHub octodex and the latest commit from the master branch of a public GitHub repository.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/22524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=22524"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dholloran"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=22524"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=22524"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=22524"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=22524"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=22524"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=22524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}