Title: Github Ribbon
Author: Sudar Muthu
Published: <strong>2010 年 9 月 7 日</strong>
Last modified: 2021 年 10 月 13 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Github Ribbon

 由 [Sudar Muthu](https://profiles.wordpress.org/sudar/) 開發

[下載](https://downloads.wordpress.org/plugin/github-ribbon.1.2.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/github-ribbon/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/github-ribbon/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/github-ribbon/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/github-ribbon/#developers)

 [技術支援](https://wordpress.org/support/plugin/github-ribbon/)

## 外掛說明

Github Ribbons is a WordPress Plugin that allows you to add “Fork me on Github” 
ribbons to your WordPress posts or pages. You can enable the ribbon per post/page
level or at global level.

### Features

The following are some of the features of the Plugin

 * You can choose between image based ribbons or CSS3 based ribbons.
 * You can choose whether to show the ribbon on the right side or on the left side.
 * You can choose whether the link has to open in a new tab or not.
 * You can choose any one of the 6 different colours that are available.
 * Configuration can be set either globally or on a post by post basic.

### Styling using CSS

If you want to style the ribbon yourself or add additional CSS styles to it (like
adding `z-index` etc) then add it to the `.robbon-holder` CSS class.

### Development

The development of the Plugin happens over at [github](https://github.com/sudar/github-ribbon).
If you want to contribute to the Plugin, fork the [project at github](https://github.com/sudar/github-ribbon)
and send me a pull request.

If you are not familiar with either git or Github then refer to this [guide to see how fork and send pull request](http://sudarmuthu.com/blog/contributing-to-project-hosted-in-github).

If you are looking for ideas, then you can start with one of the following TODO 
items 🙂

### TODO

The following are the features that I am thinking of adding to the Plugin, when 
I get some free time. If you have any feature request or want to increase the priority
of a particular feature, then let me know.

 * Add an ability to translate the text used inside the ribbon

### Support

 * If you have found a bug/issue or have a feature request, then post them in [github issues](https://github.com/sudar/github-ribbon/issues)
 * If you have a question about usage or need help to troubleshoot, then post in
   WordPress forums or leave a comment in [Plugins’s home page](http://sudarmuthu.com/wordpress/github-ribbon)
 * If you like the Plugin, then kindly leave a review/feedback at [WordPress repo page](https://wordpress.org/extend/plugins/github-ribbon/).
 * If you find this Plugin useful or and wanted to say thank you, then there are
   ways to [make me happy](http://sudarmuthu.com/if-you-wanna-thank-me) 🙂 and I
   would really appreciate if you can do one of those.
 * Checkout other [WordPress Plugins](http://sudarmuthu.com/wordpress) that I have
   released.
 * If anything else, then contact me in [twitter](http://twitter.com/sudarmuthu).

### Translation

 * Dutch (Thanks Rene of WPwebshop)
 * Spanish (Thanks Mike Arias of InMotion Hosting)
 * Hindi (Thanks Love Chandel)
 * Lithuanian (Thanks Vincent G)
 * German (Thanks Robert Wetzlmayr)

The pot file is available with the Plugin. If you are willing to do translation 
for the Plugin, use the pot file to create the .po files for your language and let
me know. I will add it to the Plugin after giving credit to you.

### Readme Generator

This Readme file was generated using [wp-readme](http://sudarmuthu.com/wordpress/wp-readme),
which generates readme files for WordPress Plugins.

## 螢幕擷圖

 * [[
 * Plugin in action in author’s blog
 * [[
 * Configuration screen

## 安裝方式

Extract the zip file and just drop the contents in the `wp-content/plugins/` directory
of your WordPress installation and then activate the Plugin from Plugins page.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Github Ribbon〉的開發相關工作。

參與者

 *   [ Sudar Muthu ](https://profiles.wordpress.org/sudar/)

[將〈Github Ribbon〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/github-ribbon)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/github-ribbon/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/github-ribbon/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/github-ribbon/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/github-ribbon/)。

## 變更記錄

#### v1.2.1 (2015-07-26) (Dev time: 1 hour)

 * Tweak: Add z-index to the ribbon. (Thanks https://github.com/vivex)

#### v1.2 (2015-04-27) (Dev time: 1 hour)

 * New: Add support for all public post types
 * Tweak: Change the filter that is used to generate the ribbon HTML code

#### v1.1.3 (2014-10-04) (Dev time: 0.1 hour)

 * Fix: Resolve SSL mixed content warnings by referencing the ribbon image without
   a hard coded scheme

#### v1.1.2 (2014-02-06) (Dev time: 0.5 hour)

 * Fix: Fix undefined notice in add/edit post page

#### v1.1.1 (2014-02-03) (Dev time: 0.5 hour)

 * Fix: Fix warnings and undefined notices
 * Tweak: Make it compatible with WordPress 3.8

#### v1.1.0 (2013-07-30) (Dev time: 0.5 hour)

 * Added the ability to open links in a new tab

#### v1.0 (2013-05-20) (Dev time: 0.5 hour)

 * Fixed a bug which prevented the gray ribbon from showing up properly.

#### v0.9 (2013-05-18) (Dev time: 0.5 hour)

 * Fixed a bug which prevented the ribbon from showing on non pages

#### v0.8 (2013-05-14) (Dev time: 0.5 hour)

 * Fixed a bug which prevented the ribbon from showing on pages

#### v0.7 (2012-12-08) (Dev time: 0.5 hour)

 * Added German translations

#### v0.6 (2012-07-10) (Dev time: 0.5 hour)

 * Added Hindi translations
 * Added Lithuanian translations

#### v0.5 (2011-11-28)

 * Added Spanish translations

#### v0.4 (2011-09-07)

 * Added CSS style to hide ribbon on printed pages

#### v0.3 (2011-01-23)

 * Added Dutch translations

#### v0.2 (2010-11-08)

 * Added option to use CSS3 ribbons

#### v0.1 (2010-08-04)

 * Initial Release

## 中繼資料

 *  版本 **1.2.1**
 *  最後更新 **5 年前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 3.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.8.13**
 *  語言
 * [English (US)](https://wordpress.org/plugins/github-ribbon/)
 * 標籤
 * [git](https://tw.wordpress.org/plugins/tags/git/)[Github](https://tw.wordpress.org/plugins/tags/github/)
   [ribbon](https://tw.wordpress.org/plugins/tags/ribbon/)
 *  [進階檢視](https://tw.wordpress.org/plugins/github-ribbon/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/github-ribbon/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/github-ribbon/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/github-ribbon/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/github-ribbon/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/github-ribbon/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/github-ribbon/reviews/)

## 參與者

 *   [ Sudar Muthu ](https://profiles.wordpress.org/sudar/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/github-ribbon/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://sudarmuthu.com/if-you-wanna-thank-me)