Linux 软件免费装

WP Github

开发者 seinoxygen
moabi
更新时间 2016年7月21日 05:38
捐献地址: 去捐款
PHP版本: 4.0 及以上
WordPress版本: 4.5.3
版权: MIT License
版权网址: 版权信息

标签

widget profile shortcode github issues gists repositories commits

下载

1.2 1.2.7 1.0 1.1 1.2.6

详情介绍:

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: 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. 缓存功能 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

安装:

  1. Upload wp-github directory to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Add the widget through the 'Widgets' menu in WordPress or add the desired shortcode in your posts and pages.

屏幕截图:

  • Setting up the widget.
  • Repositories widget in action!
  • Repositories embedded in a page.
  • Profile shortcode.
  • Profile widget.

常见问题:

Which shortcodes are available?

You can use the following codes to display profile, repositories, commits, issues and gists: Embeed profile: [github-profile username="seinoxygen"] List last 10 repositories: [github-repos username="seinoxygen" limit="10"] List last 10 commits from all repositories: [github-commits username="seinoxygen" limit="10"] List last 10 commits from a specific repository: [github-commits username="seinoxygen" repository="wp-github" limit="10"] List last 10 issues from all repositories: [github-issues username="seinoxygen" limit="10"] List last 10 issues from a specific repository: [github-issues username="seinoxygen" repository="wp-github" limit="10"] List last 10 gists from a specific user: [github-gists username="seinoxygen" limit="10"]

更新日志:

1.3.3 fix all issues 1.3.2 add access token fix widget commits "all" repo option 1.3.1 1.3 1.2.7 1.2.6 1.2 1.1 1.0