Title: Git Snippets
Author: Luis A. Ochoa
Published: <strong>August 29, 2019</strong>
Last modified: September 25, 2021

---

Search plugins

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

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# Git Snippets

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

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

 * [Details](https://pcd.wordpress.org/plugins/git-snippets/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/git-snippets/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/git-snippets/#installation)
 * [Development](https://pcd.wordpress.org/plugins/git-snippets/#developers)

 [Support](https://wordpress.org/support/plugin/git-snippets/)

## Description

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"]`

## Installation

#### 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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Git Snippets” is open source software. The following people have contributed to
this plugin.

Contributors

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

[Translate “Git Snippets” into your language.](https://translate.wordpress.org/projects/wp-plugins/git-snippets)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/git-snippets/), check
out the [SVN repository](https://plugins.svn.wordpress.org/git-snippets/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/git-snippets/) by
[RSS](https://plugins.trac.wordpress.org/log/git-snippets/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.0 (September 25, 2021)

 * GitLab 14.1 (Tested)
 * Code cleanup

#### 1.0.0 (August 28, 2019)

 * Initial release.

## Meta

 *  Version **2.0.0**
 *  Last updated **5 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.9 or higher **
 *  Tested up to **5.8.13**
 *  PHP version ** 7.1 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/git-snippets/)
 * Tags
 * [git](https://pcd.wordpress.org/plugins/tags/git/)[gitlab](https://pcd.wordpress.org/plugins/tags/gitlab/)
   [shortcode](https://pcd.wordpress.org/plugins/tags/shortcode/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/git-snippets/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/git-snippets/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/git-snippets/)