跳到内容

GitHub Repository Shortcode

v1.0

f13dev · 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

贡献者

截图

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"]

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums