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)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的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://cn.wordpress.org/plugins/wp-gitlab/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-gitlab/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-gitlab/#installation)
 * [开发进展](https://cn.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 或更高版本 **
 *  已测试的最高版本为 **4.1.42**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-gitlab/)
 * 标签
 * [commits](https://cn.wordpress.org/plugins/tags/commits/)[gitlab](https://cn.wordpress.org/plugins/tags/gitlab/)
   [issues](https://cn.wordpress.org/plugins/tags/issues/)[profile](https://cn.wordpress.org/plugins/tags/profile/)
   [repositories](https://cn.wordpress.org/plugins/tags/repositories/)
 *  [高级视图](https://cn.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)