Linux 软件免费装
Banner图

GitHub Release Downloads

开发者 ivanrf
更新时间 2020年11月25日 04:52
捐献地址: 去捐款
PHP版本: 3.1 及以上
WordPress版本: 5.5.3
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcodes shortcode download downloads release github download link download count releases download url download list release downloads latest version

下载

1.0.0 1.0.1 1.1.0 2.0.0 2.0.0.1 2.0.1 2.1.0 2.2.0 2.3.0 2.3.1

详情介绍:

GitHub Release Downloads allows you to get the download count, links and more information for releases of GitHub repositories. 下载次数 The shortcode is [grd_count]. It returns a number corresponding to the sum of all download count values for the selected releases. For instance, you can get the number of total downloads for one GitHub repository. 属性 比如 Note: user and/or repo can be omitted if default values are set. Release downloads list The shortcode is [grd_list]. It returns an HTML list for the selected releases including the release tag name, the release description and the list of files that can be downloaded, like release assets or the source code. For styling, class selectors are provided (e.g.: release-downloads-header, release-name, etc.). Attributes Examples Boolean attributes can take any of this values: "1", "true", "on" and "yes"; or "0", "false", "off" and "no". Latest version The shortcode is [grd_latest_version]. It returns the tag name of the latest published full release. For tag names like "v1.6.0", it returns "1.6.0" as the version number. Attributes 設定 Under WordPress Settings menu you will find the GitHub Release Downloads options page. In this page you can set values for the GitHub username and the repository name to use by default in the shortcodes. If both values are set, the shortcodes can be used without attributes (e.g.: [grd_count]) since default values for user and repo will be used. Attribute values take precedence over default values. For example, [grd_count repo="MyRepo"] will use the username default value and the repository specified in the shortcode.

安装:

  1. Upload the github-release-downloads folder to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件

屏幕截图:

  • Example of `[grd_count]`. Here is used to get the number for *total downloads*.
  • Example of `[grd_list]`. Here it lists all available releases and downloads for a repository.
  • GitHub Release Downloads options page.

升级注意事项:

You'll find more information at ivanrf.com.

更新日志:

2.3.1 2.3.0 2.2.0 2.1.0 2.0.1 2.0.0.1 2.0.0 1.1.0 1.0.1 1.0