🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
GetGit icon
Peut-être abandonné Testé jusqu'à 3.5.2

GetGit

Embeds syntax-highlighted GitHub repo content into your blog posts.

Installations actives10+10+ niveaux
Téléchargements · 30D52▲ +33.3% vs prev. 30d
Évaluation—0 avis
Score de santé23/100En danger
Téléchargements de tous les temps2.3KDepuis mars 2013
Support résolu—Aucun fil de discussion récent
A besoin deWP 3.5.1Php tout
Téléchargements · 7j13▼ -23.5% week over week
Notre verdict

Envisager une alternative

GetGit shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 14 years ago, and scores 23/100 on our health check.

  • Petite base d'utilisateurs (plus de 10 installations actives)
  • Très peu de critiques jusqu'à présent
  • Pas de mise à jour dans 13 ans
  • Uniquement testé jusqu'à WordPress 3,5 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

123Sep 5Oct 19Dec 3
Hier4
Moyenne quotidienne (1 ans)1
Jour de pointe5Jun 6, 2026
12 Derniers mois391

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where GetGit stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
code >100 10,000 Meilleurs plugins de code →
embed >100 7,401 Best embed plugins →
Github >100 7,423 Best Github plugins →
repositories >100 6,272 Best repositories plugins →
snippet >100 3,059 Best snippet plugins →

Adoption de version

Part de sites actifs par version.

  • 0.3100.0%

About GetGit

From the official readme · v0.3

Description

This plugin embeds the content of a public GitHub repository into your WordPress posts. It’s capable of retrieving either the full content or a snippet of a file. The code will be displayed with syntax highlighting and line numbers.

Now supports content caching for improved page responsiveness and load times.

Syntax highlighting is provided by the Sunlight JS syntax highlighter. Many thanks to those involved in that project!

Usage

This plugin registers a shortcode that allows for embedding GitHub repo content into blog posts. To embed content into your post, use the github shortcode like so:

[github userid="[target user id]" repoid="[target repo id]" path="[path to content]" language="[language of target content]"]

Attributes used by the github shortcode:

  • userid – The user ID of the repository owner.

  • repoid – The ID of the repository that contains the target content.

  • path – The full path to the content. This path should start at the repository root, not inclusive of the leading /, and terminate with the name of the target content’s filename.

  • language – The programming language of the code contained in the content. This information will be passed to the syntax highlighter. The value must match one of the recognized values for the Sunlight JS engine. For a list of values, see the Sunlight documentation.

  • startloc – Optional. The starting line of code to display in the code snippet. If this attribute is ommitted, the first line of retrieved file will be the first line of code displayed in the snippet.

  • stoploc – Optional. The final line of code (inclusive) to display in the code snippet. If this attribute is ommitted, the final line of content shown in the snippet will be the last line of the retrieved file.

Exemples

Retrieve src/support.js from the jQuery project repo:
[getgit repoid=”jquery” userid=”jquery” path=”src/support.js” language=”javascript”]

Retrieve lines 39 through 64 of this plugin’s content retrieval class:
[getgit repoid=github-wordpress-plugin userid=claycarpenter path=”src/php/github_repo_content_retriever.php” language=”php” startloc=39 stoploc=64]

Installation

Pour installer ce plugin :

  1. Upload the plugin archive ZIP (getgit.zip) to the /wp-content/plugins/ directory.
  2. Activate the GetGit plugin through the ‘Plugins’ menu in WordPress.
  3. Add the github shortcode to your blog posts, as outlined in the Description section.

Journal de modifications

0.3

  • Adds configurability to the caching support. The content cache system can now be enabled or disabled. Content in the cache can now have a configurable expiry.
  • Updates cache (Transient) key generation so that the generated keys are more likely to be unique across plugins.

0.2

  • Adds support for content caching. The caching support is provided via the Transients API. This is an initial implementation and does not allow for configuration of the cache entry expiration date.

0.1

  • Communiqué public initial.
  • Supports basic syntax highlighting, line numbers.
  • Supports showing only snippets of files, rather than the full file content.
  • Uses Sunlight JS syntax highlighter, v1.17.

Journal des modifications complet sur WordPress.org →

Captures d'écran

A snippet of content retrieval code from this plugin, with PHP syntax highlighting.
A snippet of content retrieval code from this plugin, with PHP syntax highlighting.
A snippet of a jQuery file, with JavaScript syntax highlighting.
A snippet of a jQuery file, with JavaScript syntax highlighting.
La page Paramètres du plug-in.
La page Paramètres du plug-in.

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best GetGit alternatives

Tous les plugins de code →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 WPCode – Insérer des en-têtes et des pieds de page + extraits de code personnalisés – WordPress Gestionnaire de code Wpcode Ajoutez facilement des extraits de code dans WordPress. Insérez des scripts d'en-tête et de pied de page, ajoutez du code PHP… de Syed Balkhi 3M+ ★★★★★★★★★★ 4.9 (1.9K) il y a 1 jour 97
2 Extraits de code Extraits de code Gérez le code WordPress personnalisé dans un seul tableau de bord. Créez des extraits de PHP et HTML, prévisualisez le code… par codes d'extraits de pro 1M+ ★★★★★★★★★★ 4.7 (512) il y a 1 semaine 92
3 Code de la tête et du pied de page Code de la tête et du pied de page Ajoutez un code personnalisé à l'échelle du site, de la catégorie et de l'article avant la clôture et… Par Aleksandar Urošević 100K+ ★★★★★★★★★★ 5 (51) Il y a 3 mois 71
4 Plugin CSS personnalisé simple Plugin CSS personnalisé simple Ajoutez un CSS personnalisé à votre site WordPress sans aucun problème. de John Regan 100K+ ★★★★★★★★★★ 4.7 (159) Il y a 2 ans 51
5 Shortcoder — Créez des shortcodes pour tout Shortcoder — Créez des shortcodes pour tout Créez facilement des "shortcodes" personnalisés pour les extraits de code HTML, JavaScript, CSS et utilisez les… par vaakash 100K+ ★★★★★★★★★★ 4.9 (227) Il y a 3 mois 77
6 Scripts n Styles Scripts n Styles Ce plugin permet aux utilisateurs administrateurs d'ajouter individuellement du HTML, du CSS personnalisé, des classes et de JavaScript… Par soft 30K+ ★★★★★★★★★★ 4.4 (30) Il y a 3 ans 45
7 SyntaxeHighlighter évolué SyntaxeHighlighter évolué Publiez facilement le code mis en évidence par la syntaxe sur votre site sans avoir à modifier le code du tout… par Alex Mills 20K+ ★★★★★★★★★★ 4.3 (86) Il y a 2 jours 91
8 Code d'intégration Code d'intégration Code Embed offre un moyen très simple et efficace d'intégrer du code (JavaScript, CSS et HTML)… par David Artiss 10K+ ★★★★★★★★★★ 4.4 (45) Il y a 2 semaines 87
9 Advance HTML personnalisé - Affichez le code en direct, partagez des extraits, intégrez du code et stylisez-les à votre façon. Avancer le code HTML personnalisé Advance HTML personnalisé vous permet d'écrire et d'afficher des extraits de code HTML, CSS, PHP et autres… par BPlugins 10K+ ★★★★★★★★★★ 2.5 (4) Il y a 2 jours 68
10 Mise en évidence du bloc de code Mise en évidence du bloc de code Ajoutez un bloc de code avec la mise en évidence de la syntaxe à l'aide de Prism.js. (Disponible pour Gutenberg et… par Loos 10K+ ★★★★★★★★★★ 4.5 (20) il y a 5 mois 62

FAQ

GetGit: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is GetGit free?

Yes. GetGit is free to download and use from the official WordPress.org plugin directory.

Is GetGit safe to use in 2026?

GetGit shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 14 years ago, and scores 23/100 on our health check.

How many websites use GetGit?

GetGit is active on 10+ WordPress websites and has been downloaded 2,279 times since it launched in March 2013. It was downloaded 52 times in the last 30 days.

Does GetGit work with WordPress 7.1?

GetGit is officially tested up to WordPress 3.5.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was GetGit last updated?

The latest version, 0.3, was released on March 19, 2013 (14 years ago).

Who makes GetGit?

GetGit is developed and maintained by claycarpenter.

What are the best alternatives to GetGit?

The most popular alternatives to GetGit are WPCode (3M+ installs), Code Snippets (1M+ installs) and Head & Footer Code (100K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir