Embeds syntax-highlighted GitHub repo content into your blog posts.
As of April 2026, GetGit is a WordPress code plugin with 10 active installations and a 0/5 rating0. It has been downloaded 2.0K+ times in total. Requires WordPress 3.5.1+ and PHP false+. Available on WordPress.org since 2013. Last updated 13 years ago — may have compatibility concerns. Top alternative: WPCode – Insert Headers and Footers +….
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!
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…
| WordPress | 3.5.1+ requiredTested up to 3.5.2 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.