GetGit
Embeds syntax-highlighted GitHub repo content into your blog posts.
Considere uma alternativa
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.
- Pequena base de usuários (10+ instalações ativas)
- Muito poucos comentários até agora
- No update in 13 years
- Testado apenas até WordPress 3.5 (mais recente é 7.1)
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where GetGit stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| code | >100 |
| embed | >100 |
| Github | >100 |
| repositories | >100 |
| snippet | >100 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
About GetGit
From the official readme · v0.3Descrição
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!
Uso
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.
Exemplos
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]
Instalação
To install this plugin:
- Upload the plugin archive ZIP (
getgit.zip) to the/wp-content/plugins/directory. - Activate the GetGit plugin through the ‘Plugins’ menu in WordPress.
- Add the github shortcode to your blog posts, as outlined in the Description section.
Log de Changes
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
- Lançamento público inicial.
- 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.
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best GetGit alternatives
All code plugins →FAQ
GetGit: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: 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).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito



