Title: WP Gitlab
Author: CFarence
Published: <strong>2015 年 4 月 7 日</strong>
Last modified: 2015 年 4 月 8 日

---

搜尋外掛

![](https://ps.w.org/wp-gitlab/assets/banner-772x250.png?rev=1137728)

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

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

# WP Gitlab

 由 [CFarence](https://profiles.wordpress.org/cfarence/) 開發

[下載](https://downloads.wordpress.org/plugin/wp-gitlab.zip)

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

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

## 外掛說明

WP Gitlab provides four sidebar widgets which can be configured to display public
profile, repositories, commits, and issues from Gitlab in the sidebar. You can have
as many widgets as you want configured to display different repositories.
 This 
plugin is based on the plugin WP Github by seinoxygen.

Currently the plugin can list:

 * Profile
 * Repositories
 * Commits
 * Issues

### Using CSS

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 losing
your custom style.

### Caching

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

You can clear the cache from the plugin settings page located in the WordPress settings
menu.

### Support

If you have found a bug/issue or have a feature request please report here: https://
wordpress.org/support/plugin/wp-gitlab

### Notes

 1. Your webserver must have the curl php module installed
 2. Some themes break the profile widget. If you know how to fix this issue your help
    would be greatly appreciated.

## 安裝方式

 1. Upload `wp-Gitlab` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Add your gitlab url and api key to the settings
 4. Add the widget through the ‘Widgets’ menu in WordPress or add the desired shortcode
    in your posts and pages.

## 常見問題集

  Which shortcodes are available?

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

Embed profile:
 [Gitlab-profile username=”cfarence”] List last 10 repositories: [
Gitlab-repos username=”cfarence” limit=”10″] List last 10 commits from all repositories:[
Gitlab-commits username=”cfarence” limit=”10″] List last 10 commits from a specific
repository: [Gitlab-commits username=”cfarence” repository=”wp-Gitlab” limit=”10″]
List last 10 issues from all repositories: [Gitlab-issues username=”cfarence” limit
=”10″] List last 10 issues from a specific repository: [Gitlab-issues username=”
cfarence” repository=”wp-Gitlab” limit=”10″]

## 使用者評論

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

## 參與者及開發者

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

參與者

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

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

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

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

## 變更記錄

#### 1.0

 * First release

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **11 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.1.42**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-gitlab/)
 * 標籤:
 * [commits](https://tw.wordpress.org/plugins/tags/commits/)[gitlab](https://tw.wordpress.org/plugins/tags/gitlab/)
   [issues](https://tw.wordpress.org/plugins/tags/issues/)[profile](https://tw.wordpress.org/plugins/tags/profile/)
   [repositories](https://tw.wordpress.org/plugins/tags/repositories/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-gitlab/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

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

## 參與者

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

## 技術支援

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

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

## 贊助

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

 [ 贊助這個外掛 ](http://www.charlessite90.com)