Title: Widget Shortcodes for Github
Author: jamqes
Published: <strong>2019 年 9 月 3 日</strong>
Last modified: 2019 年 9 月 3 日

---

搜索插件

![](https://ps.w.org/widget-shortcodes-for-github/assets/banner-772x250.jpg?rev=
2150475)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/widget-shortcodes-for-github/assets/icon-128x128.jpg?rev=2150475)

# Widget Shortcodes for Github

 作者：[jamqes](https://profiles.wordpress.org/jamqes/)

[下载](https://downloads.wordpress.org/plugin/widget-shortcodes-for-github.zip)

 * [详情](https://cn.wordpress.org/plugins/widget-shortcodes-for-github/#description)
 * [评价](https://cn.wordpress.org/plugins/widget-shortcodes-for-github/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/widget-shortcodes-for-github/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/widget-shortcodes-for-github/#developers)

 [支持](https://wordpress.org/support/plugin/widget-shortcodes-for-github/)

## 描述

Lightweight widget shortcodes to display GitHub buttons and gists on your blog. 
Includes shortcode for embedding GitHub hosted gists and buttons for:

 * Follow
 * Watch
 * Star
 * Fork
 * Download
 * Issue

The plugin implements [ntkme’s ‘github-buttons’](https://github.com/ntkme/github-buttons)
and GitHub’s gist display as shortcodes.

### Usage

GitHub Follow Button:
 Add the `[Github_User_Button user='JBarnden' size='large'
show_count='true']` shortcode in your content and replace `JBarnden` with the desired
GitHub username.

GitHub Repo Buttons:
 Add the `[Github_Repo_Button user='JBarnden' repo='wp-github-
widgets' size='large' show_count='true']` shortcode in your content, replacing `
JBarnden` with the desired GitHub username and `MyRepo` with the desired repo belonging
to the specified user. You can set the`type` attribtute to `watch`, `star`, `fork`,`
issue` or `download`.

Display Gist:
 Add the `[Gist]gist_id[/Gist]` where `gist_id` is replaced with the
id of the desired Gist.

More detailed documentation can be found [here](https://github.com/JBarnden/wp-github-widgets#usage).
If you find the plugin useful or have any feedback I’d really appreciate your review.

### Feature Requests and Contributions

Please submit feature requests and contributions via the issues section of [the plugin’s GitHub Repository](https://github.com/JBarnden/wp-github-widgets/).

If you feel like improving the plugin, pull requests are both welcome and appreciated.

## 屏幕截图

[⌊Examples of shortcodes and variations.⌉⌊Examples of shortcodes and variations.⌉[

Examples of shortcodes and variations.

## 安装

 1. Upload the `widget-shortcodes-gh` directory to your plugins directory `wp-content/
    plugins`.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 评价

此插件暂无评价。

## 贡献者及开发者

「Widget Shortcodes for Github」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Widget Shortcodes for Github」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/widget-shortcodes-for-github)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/widget-shortcodes-for-github/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/widget-shortcodes-for-github/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/widget-shortcodes-for-github/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/widget-shortcodes-for-github/)。

## 更新日志

#### 1.0

 * Stable release with shortcodes for GitHub buttons and Gist display.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**7 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **5.2.24**
 *  语言
 * [English (US)](https://wordpress.org/plugins/widget-shortcodes-for-github/)
 * 标签
 * [buttons](https://cn.wordpress.org/plugins/tags/buttons/)[Gist](https://cn.wordpress.org/plugins/tags/gist/)
   [Github](https://cn.wordpress.org/plugins/tags/github/)[shortcodes](https://cn.wordpress.org/plugins/tags/shortcodes/)
 *  [高级视图](https://cn.wordpress.org/plugins/widget-shortcodes-for-github/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/widget-shortcodes-for-github/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/widget-shortcodes-for-github/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/widget-shortcodes-for-github/)