Title: WP Github Recent commit
Author: dholloran
Published: <strong>19 março, 2013</strong>
Last modified: 11 maio, 2013

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-github-recent-commit.svg)

# WP Github Recent commit

 Por [dholloran](https://profiles.wordpress.org/dholloran/)

[Baixar](https://downloads.wordpress.org/plugin/wp-github-recent-commit.1.1.1.zip)

 * [Detalhes](https://br.wordpress.org/plugins/wp-github-recent-commit/#description)
 * [Avaliações](https://br.wordpress.org/plugins/wp-github-recent-commit/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/wp-github-recent-commit/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/wp-github-recent-commit/#developers)

 [Suporte](https://wordpress.org/support/plugin/wp-github-recent-commit/)

## Descrição

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 > Widgets, by adding the shortcode `[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](http://demo.danholloran.com/github-commit-widget-demo/)
and get more information about all three under the installation tab. **Plugin Home
Page:** [http://dholloran.github.com/wp-github-recent-commit/](http://dholloran.github.com/wp-github-recent-commit/)

If you have any issues please submit an [issue](https://github.com/DHolloran/wp-github-recent-commit/issues/new)
or fix it/submit a pull request I will try to handle it ASAP. You an also contact
me at [support@danholloran.com](https://br.wordpress.org/plugins/wp-github-recent-commit/support@danholloran.com?output_format=md).

## Capturas de tela

[⌊screenshot1.png⌉⌊screenshot1.png⌉[

screenshot1.png

[⌊screenshot2.png⌉⌊screenshot2.png⌉[

screenshot2.png

## Instalação

 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

## Perguntas frequentes

None so far… If you have any issues please submit an [issue](https://github.com/DHolloran/wp-github-recent-commit/issues/new)
or fix it/submit a pull request I will try to handle it ASAP. You an also contact
me at [support@danholloran.com](https://br.wordpress.org/plugins/wp-github-recent-commit/support@danholloran.com?output_format=md).

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“WP Github Recent commit” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

 *   [ dholloran ](https://profiles.wordpress.org/dholloran/)

[Traduzir o “WP Github Recent commit” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/wp-github-recent-commit)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/wp-github-recent-commit/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/wp-github-recent-commit/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/wp-github-recent-commit/)
por [RSS](https://plugins.trac.wordpress.org/log/wp-github-recent-commit/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.0

 * Initial Release

#### 1.0.1

 * Fixed issue with the owner Repo link having incorrect link.

#### 1.1.0

 * Added WPGRC shortcode
 * Added WPGRC template function
 * Added cache refresh rate control
 * Added ability to choose one repository to pull commits from

#### 1.1.1

 * Added option for commit authors avatar
 * Added option to show more than one commit

## Meta

 *  Versão **1.1.1**
 *  Última atualização **13 anos atrás**
 *  Instalações ativas **Menos de 10**
 *  Versão do WordPress ** 3.1 ou superior **
 *  Testado até **3.5.2**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/wp-github-recent-commit/)
 * Tags
 * [commit](https://br.wordpress.org/plugins/tags/commit/)[Github](https://br.wordpress.org/plugins/tags/github/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/wp-github-recent-commit/advanced/)

## Classificações

Ainda não foi enviada nenhuma avaliação.

[Your review](https://wordpress.org/support/plugin/wp-github-recent-commit/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/wp-github-recent-commit/reviews/)

## Colaboradores

 *   [ dholloran ](https://profiles.wordpress.org/dholloran/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/wp-github-recent-commit/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](http://danholloran.com/)