>
Download This Plugin | |
Download Elegant Themes | |
Name | WP GitHub Tools |
Version | 1.2 |
Author | Vilmos Ioo |
Rating | 0 |
Last updated | 2013-12-30 03:46:00 |
Downloads |
532
|
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 Tools plugin added 13 bytes of resources to the Home page and 27 bytes of resources to the sample Post page.
WP GitHub Tools plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! WP GitHub Tools plugin ads no tables to your Wordpress blog database.Use the custom GitHub Commit widget to display a list of the latest updates from a repository. Additionally, you can use shortcodes to add commit lists or embed any gist. The plugin will cache the GitHub response for a certain time period. You can change this value to any wordpress schedules you have isntalled (default: hourly, half-day, daily). To get more time frames you will need an additional plugin that extends the cron schedules.
[gist id='gist_id' ]
Embeds a gist in your post. Parameters:
[commits repository='your-repository' count='max-count' title='your-title']
Displays the latest commits from your repository. Parameters:
[chart repository='your-repository' width='chart-width' height='chart-height' class='additional-css-classes' color='bar-color' background='chart-background' count='commit-count' title='your-title']
Displays an activity chart for the given repository. Parameters:
Feel free to use the Gihub helper class in your theme or plugin development.
<?php WP_Github_Tools_API::get_repos($user, $access_token); ?>
<?php WP_Github_Tools_API::get_user($user, $access_token); ?>
<?php WP_Github_Tools_API::get_commits($repo, $user, $access_token); ?>
<?php WP_Github_Tools_API::get_gists($user, $access_token); ?>
If you have suggestions for a new add-on, feel free to contact me on Twitter. Alternatively, you can fork the plugin from Gihub