Title: Git Snippets
Author: Luis A. Ochoa
Published: <strong>29 d'agost de 2019</strong>
Last modified: 25 de setembre de 2021

---

Cerca extensions

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

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Git Snippets

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

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

 * [Detalls](https://ca.wordpress.org/plugins/git-snippets/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/git-snippets/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/git-snippets/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/git-snippets/#developers)

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

## Descripció

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

## Instal·lació

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

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Git Snippets» és programari de codi obert. La següent gent ha col·laborat en aquesta
extensió.

Col·laboradors

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

[Traduïu «Git Snippets» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/git-snippets)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/git-snippets/), baixeu-
vos el [repositori SVN](https://plugins.svn.wordpress.org/git-snippets/), o subscriviu-
vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/git-snippets/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/git-snippets/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 2.0.0 (September 25, 2021)

 * GitLab 14.1 (Tested)
 * Code cleanup

#### 1.0.0 (August 28, 2019)

 * Initial release.

## Meta

 *  Versió **2.0.0**
 *  Darrera actualització **fa 5 anys**
 *  Instal·lacions actives **Menys de 10**
 *  Versió del WordPress ** 4.9 o posterior **
 *  Provada fins a **5.8.13**
 *  Versió del PHP ** 7.1 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/git-snippets/)
 * Etiquetes
 * [git](https://ca.wordpress.org/plugins/tags/git/)[gitlab](https://ca.wordpress.org/plugins/tags/gitlab/)
   [shortcode](https://ca.wordpress.org/plugins/tags/shortcode/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/git-snippets/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/git-snippets/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/git-snippets/)