
GitHub Repository Shortcode
v1.0f13dev · 2016年7月14日 上架
Add a snapshot of your GitHub repository to any page or post on your WordPress blog.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 2,179
- 最近更新
- 2018年9月15日
需要 WordPress 3.0.1+已测试到 4.9.36
贡献者
截图
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
![An example showing the results of the shortcode [gitrepo author="wordpress" repo="wordpress"]](https://ps.w.org/f13-github-repo-shortcode/trunk/screenshot-1.png?rev=1941746)