>
Download This Plugin | |
Download Elegant Themes | |
Name | WP Github Commits |
Version | 0.5 |
Author | Sudar |
Rating | 90 |
Last updated | 2015-01-05 05:51:00 |
Downloads |
723
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
WP Github Commits plugin added 5 bytes of resources to the Home page and 6 bytes of resources to the sample Post page.
WP Github Commits plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! WP Github Commits plugin ads no tables to your Wordpress blog database.Displays the latest commits of a github repo in the sidebar.
The Plugin provides a sidebar widget which can be configured to display commits from a github repo in the sidebar. You can have multiple widgets with different repo configured for each one of them.
In addition to using the widget, you can also use the following template function to display the commits of a github repo, anywhere in the theme
get_github_commits($user, $repo, $count);
The following options can be passed in the $options array
You can also specify the repo for each post or page as a custom field. You can add it under the "WP Github Commits Page fields" section in the Add/Edit post screen.
The Plugin caches the commits that is retrieved from Github for 5 hours.
The Plugin adds the following CSS classes. If you want to customize the look of the widget then can change it by adding custom styles to these CSS classes.
ul
tag has the class github-commits
li
tag has the class github-commit
If you get timeouts or the error "WP HTTP Error: name lookup timed out" then it means that your server is not timing out before github can respond.
You can use the code from this gist to increase the timeout.
The pot file is available with the Plugin. If you are willing to do translation for the Plugin, use the pot file to create the .po files for your language and let me know. I will add it to the Plugin after giving credit to you.
The development of the Plugin happens over at github. If you want to contribute to the Plugin, fork the project at github and send me a pull request.
If you are not familiar with either git or Github then refer to this guide to see how fork and send pull request.
Support for the Plugin is available from the Plugin's home page. If you have any questions or suggestions, do leave a comment there or contact me in twitter.
If you are looking for ideas, then you can start with one of the following TODO items :)
I would be posting updates about this Plugin in my blog and in Twitter. If you want to be informed when new version of this Plugin is released, then you can either subscribe to this blog's RSS feed or follow me in Twitter.
Also checkout other Plugins by the author.