BACK TO DIRECTORY

GitHub Repository Shortcode

by f13dev

0.0
(0 ratings)

If you are a programmer who uses GitHub then why not share your coding projects via your WordPress blog by adding a snapshot
of your repository on any page or post using shortcode.

Simply install the plugin and add the shortcode [gitrepo author=”author” repo=”repo”] to the desired location; changing the attributes to that of your desired repository.

Features include:

  • Cached using Transient
  • Styles appearance with a GitHub banner
  • Shows the repository description
  • Adds a link to the repository on GitHub
  • Shows statistics for Forks, Stars, Open Issues
  • Provides a link to the latest tag (if one exists)
  • Displays the code to clone the repository
  • Can be used with or without a GitHub API Token

Screenshots

An example showing the results of the shortcode [gitrepo author="wordpress" repo="wordpress"]

An example showing the results of the shortcode [gitrepo author="wordpress" repo="wordpress"]

Plugin Details

Active Installs
10
Total Downloads
2,031
Version
1.0
Requires WP
3.0.1
Requires PHP
Tested Up To
4.9.31
Added
2016-07-14
Last Updated
2018-09-15 10:08am GMT

Ratings

5
0
4
0
3
0
2
0
1
0