설명

WP Github provides three sidebar widgets which can be configured to display public profile, repositories, commits, issues and gists from github in the sidebar. You can have as many widgets as you want configured to display different repositories.

Currently the plugin can list:

프로필

Repositories

Commits

Issues

Gists

Pull request

Single Issue

Embed File content (with highlighter)

Using CSS

The plugin uses a basic unordered lists to enumerate. In the future will be implemented a simple template system to increase the customization.

You can apply a customized style to the plugin simply uploading a file called custom.css in the plugin folder. It will allow you to upgrade the plugin without loss your custom style.

Caching

The plugin caches all the data retrieved from Github every 10 minutes to avoid exceed the limit of api calls.

Since version 1.1 you can clear the cache from the plugin settings page located in the WordPress settings menu.

Since version 1.2.6 you can add your github credentials

지원

If you have found a bug/issue or have a feature request please report here: https://github.com/seinoxygen/wp-github/issues

스크린샷

Setting up the widget.

Repositories widget in action!

Repositories embedded in a page.

Profile shortcode.

Profile widget.

설치

Upload wp-github directory to the /wp-content/plugins/ directory

워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.

Add the widget through the ‘Widgets’ menu in WordPress or add the desired shortcode in your posts and pages.

FAQ

Which shortcodes are available?

You can use the following codes to display profile, repositories, commits, issues and gists: