Title: WP GitHub Buttons
Author: miunosoft
Published: <strong>2015 年 3 月 1 日</strong>
Last modified: 2015 年 3 月 1 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/wp-github-buttons.svg)

# WP GitHub Buttons

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

[下载](https://downloads.wordpress.org/plugin/wp-github-buttons.1.0.0.zip)

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

 [支持](https://wordpress.org/support/plugin/wp-github-buttons/)

## 描述

Displays GitHub buttons with your proffered octicon.

#### Features

 * **Widget**
 * **Shortcode**

## 屏幕截图

 * [[
 * **_Buttons_**
 * [[
 * **_Widget Form_**

## 安装

#### Install

 1. Upload **`wp-github-buttons.php`** and other files compressed in the zip folder
    to the **`/wp-content/plugins/`** directory.,
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## 常见问题

<

h4>Shortcode Slug

<

h4>

    ```
    wp_github_button


    [wp_github_button]
    ```

#### Shortcode Parameters

 * `account` – the account name. For example, For example, in the repository url`
   https://github.com/michaeluno/wp-github-buttons` it will be `michaeluno`.
 * `repository` – the repository slug. For example, in the repository url `https://
   github.com/michaeluno/wp-github-buttons` it will be `wp-github-buttons`.
 * `show_count` – `1` or `0` set 1 to show the count.
 * `type` – either of the followings or set none for a custom link.
    - `.fork` – the fork button.
    - `.follow` – the follow button.
    - `.star` – the stargazer button.
    - `.issue` – the issue button.
 * `data_style` – `default` or `mega` For a large button, set `mega`.
 * `data_text` – the button label.
 * [wp_github_button type=’.star’ account=’michaeluno’ repository=’wp-github-buttons’
   show_count=1 data_text=’Fork Me!’ data_style=’mega’]
 * `data_icon` – your preferred octicon. e.g. `octicon-gift`
 * [wp_github_button href=’https://wordpress.org’ data_icon=’octicon-gift’ data_text
   =’Gift’ data_style=’mega’]

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP GitHub Buttons」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ miunosoft ](https://profiles.wordpress.org/miunosoft/)
 *   [ Michael Uno ](https://profiles.wordpress.org/michael-uno/)

[帮助将「WP GitHub Buttons」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-github-buttons)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0 – 2015/03/01

 * Released.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**11 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **4.1.42**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-github-buttons/)
 * 标签
 * [button](https://cn.wordpress.org/plugins/tags/button/)[buttons](https://cn.wordpress.org/plugins/tags/buttons/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)[widget](https://cn.wordpress.org/plugins/tags/widget/)
   [widgets](https://cn.wordpress.org/plugins/tags/widgets/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-github-buttons/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ miunosoft ](https://profiles.wordpress.org/miunosoft/)
 *   [ Michael Uno ](https://profiles.wordpress.org/michael-uno/)

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://en.michaeluno.jp/donate)