前言介紹
- 這款 WordPress 外掛「GitHub Release Downloads」是 2015-03-18 上架。
- 目前有 80 個安裝啟用數。
- 上一次更新是 2020-11-24,距離現在已有 1621 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.1 以上版本才可以安裝。
- 有 4 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
ivanrf |
外掛標籤
Github | release | download | releases | downloads |
內容簡介
gs » GitHub Release Downloads, you can set default values for user and repo attributes, as well as change the downloads suffix string and select which post types you want to enable the shortcodes for.
Please note that some specific configurations may require a GitHub access token, which you can generate on GitHub settings page.
For more information, check out the official documentation.
原文外掛簡介
GitHub Release Downloads allows you to get the download count, links and more information for releases of GitHub repositories.
Download count
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.
Attributes
user: the GitHub username.
repo: the GitHub repository name.
latest: only gets information about the latest published release for the repository.
tag: only gets information about the release with the specified tag name.
prereleases: includes draft releases and prereleases. Default value is false.
Examples
All repository downloads: [grd_count user="IvanRF" repo="MassiveFileRenamer"]
Latest release downloads: [grd_count user="IvanRF" repo="MassiveFileRenamer" latest="true"]
Specific release downloads: [grd_count user="IvanRF" repo="MassiveFileRenamer" tag="v1.6.0"]
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
user, repo, latest, tag, prereleases: same as above.
hide_description: hides the release description.
hide_size: hides information about the file size.
hide_downloads: hides information about the download count.
downloads_suffix: use it for internationalization. Default value is " downloads".
hide_source_code: hides the download link for the source code.
Examples
All repository downloads: [grd_list user="IvanRF" repo="MassiveFileRenamer"]
Latest release downloads: [grd_list user="IvanRF" repo="MassiveFileRenamer" latest="true"]
Specific release downloads: [grd_list user="IvanRF" repo="MassiveFileRenamer" tag="v1.5.6"]
Hide file size: [grd_list user="IvanRF" repo="MassiveFileRenamer" hide_size="true"]
Hide downloads count: [grd_list user="IvanRF" repo="MassiveFileRenamer" hide_downloads="true"]
Downloads suffix change: [grd_list user="IvanRF" repo="MassiveFileRenamer" downloads_suffix="descargas"]
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
user, repo, prereleases: same as above.
Settings
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.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「GitHub Release Downloads」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.1.0 | 2.0.0 | 2.0.1 | 2.1.0 | 2.2.0 | 2.3.0 | 2.3.1 | trunk | 2.0.0.1 |
延伸相關外掛(你可能也想知道)
CBX Changelog & Release Note 》此外掛可協助您編寫任何數位產品或專案的版本變更日誌,例如錯誤修正、新增功能或改進等。 , CBX Changelog by Codeboxr, 📋 說明文件 | 🌟 升級到專業版 | ...。
Changeloger – Release Notes & Changelog Manager 》**總結:** Changeloger是一款終極的WordPress外掛,能夠輕鬆將普通的文本日誌轉換為視覺上令人驚艷的展示,並在WordPress區塊編輯器中呈現。它讓軟體開發人...。
Hide Generator Version 》這是一個簡單、輕量的 WordPress 外掛程式,可完整隱藏你的 WordPress 安裝版本號碼。此外掛不需要任何設定,只要啟用後,它就會開始工作。。
Appsero Helper 》, 注意:本外掛僅適用於已註冊 Appsero 帳戶的使用者。您可以免費設置一個帳戶。如果您有興趣輕鬆管理您的外掛程式/佈景主題,請加入 Appsero。, , Appsero ...。
Comment License 》Comment License 外掛會在您的評論表單中顯示一個授權條款。您可以在選項頁面中編輯您的授權條款。。
GitSync 》GitSync 在管理儀表板中增加了一個新選項,讓您可以從 Github 上添加一個主題。, 當正確設置後,您可以在 WordPress 實例中選擇要下載的版本。, 只需輸入存儲...。
Release Notes 》對於部署多個佈景主題的開發人員來說,擁有詳細的完整版本歷史相關資訊,包括新功能、改進內容和錯誤修復,非常有用。使用 Release Notes,這比以往更加簡單...。
Manage Upcoming Release 》「管理即將推出」外掛可讓您輕鬆地將順序排列的推出項目整合到 WordPress 頁面和文章中。您可以添加任意多個即將推出的項目,並透過短代碼在網站的任何地方顯...。
Backup release ovh 》在使用這個外掛之前,您需要進行一些設定。完成設定後,您可以生成可用於備份的 "sh" 檔案。您必須將這些檔案發送到您所定義的資料夾中,然後定義一個 cron ...。
Product Auto Release with Upvote & Countdown 》總結:「Product Auto Release with Upvote & Countdown」是一款強大的 WordPress 外掛,讓使用者能夠事先設定產品自動上架時間,並透過倒數計時器與限時...。
Timed Posts 》Timed Posts 外掛讓您在一篇部落格文章裡面包含多個部分,這些部分只會在特定的時間出現。, 如果需要支援,請至http://www.pgogy.com和http://www.pgogy.com/...。
Release listener for GitHub 》每當在 GitHub 上發布新版本時,此外掛就會自動建立一篇新文章(或自訂文章類型,如果該選項被選中)。您可以將發布文章顯示在您的其他文章中,或使用簡碼生...。
Latest Github Release 》此外掛會自動加入最新 Github 儲存庫發布的壓縮檔案下載鏈接,, 使用簡碼 [latest_github_release user=”github” repo=”hub”] , 使...。
Continuous Delivery for Digital Goods and Downloads 》透過「Continuous Delivery for Digital Goods and Downloads」外掛,您可以提供統一的 API 端點,來發佈軟體產品的新版本。這些端點可以從 CI 服務(像是 Gi...。