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.

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” adalah perisian sumber terbuka. Orang-orang berikut telah menyumbang kepada pemalam ini.

Penyumbang

Translate “Git Snippets” into your language.

Berminat dalam pembangunan?

Layari kod, periksa repositori SVN, atau langgani log pembangunan dengan RSS.

Changelog

2.0.0 (September 25, 2021)

  • GitLab 14.1 (Tested)
  • Code cleanup

1.0.0 (August 28, 2019)

  • Initial release.