Title: Git Snippets
Author: Luis A. Ochoa
Published: <strong>2019 年 8 月 29 日</strong>
Last modified: 2021 年 9 月 25 日

---

搜尋外掛

![](https://ps.w.org/git-snippets/assets/banner-772x250.png?rev=2147446)

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

![](https://ps.w.org/git-snippets/assets/icon-256x256.png?rev=2147446)

# Git Snippets

 由 [Luis A. Ochoa](https://profiles.wordpress.org/aochoae/) 開發

[下載](https://downloads.wordpress.org/plugin/git-snippets.2.0.0.zip)

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

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

## 外掛說明

With Git Snippets you can share code and text fragments with other users from your
website.

To embed a project snippet, first make sure that:

 * The snippet is public
 * In **Project > Settings > Visibility, project features, permissions**, the snippets
   permissions are set to **Everyone with access**

Use `[gitlab]` shortcode by using the ID or URL of the snippet in your posts and
pages.

 * `[gitlab id="2180458"]`
 * `[gitlab url="https://gitlab.com/aochoae/git-snippets/-/snippets/2180458"]`

## 安裝方式

#### Minimum Requirements

 * WordPress 4.9 or greater
 * PHP 7.1 or greater

#### Manual installation

 1. Navigate to **Plugins > Add New**.
 2. Click the Upload Plugin button at the top of the screen.
 3. Select the zip file from your local filesystem.
 4. Click the **Install Now** button.
 5. Click the Activate Plugin button at the bottom of the page.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Luis A. Ochoa ](https://profiles.wordpress.org/aochoae/)

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

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

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

## 變更記錄

#### 2.0.0 (September 25, 2021)

 * GitLab 14.1 (Tested)
 * Code cleanup

#### 1.0.0 (August 28, 2019)

 * Initial release.

## 中繼資料

 *  版本 **2.0.0**
 *  最後更新 **5 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 4.9 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.8.13**
 *  PHP 版本需求 ** 7.1 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/git-snippets/)
 * 標籤:
 * [git](https://tw.wordpress.org/plugins/tags/git/)[gitlab](https://tw.wordpress.org/plugins/tags/gitlab/)
   [shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
 *  [進階檢視](https://tw.wordpress.org/plugins/git-snippets/advanced/)

## 評分

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

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

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

## 參與者

 *   [ Luis A. Ochoa ](https://profiles.wordpress.org/aochoae/)

## 技術支援

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

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