Title: GitHub Release Downloads
Author: IvanRF
Published: <strong>19 مارس 2015</strong>
Last modified: 24 نوامبر 2020

---

جستجوی افزونه‌ها

![](https://ps.w.org/github-release-downloads/assets/banner-772x250.png?rev=1115752)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/github-release-downloads/assets/icon-256x256.png?rev=1115752)

# GitHub Release Downloads

 توسط [IvanRF](https://profiles.wordpress.org/ivanrf/)

[دانلود](https://downloads.wordpress.org/plugin/github-release-downloads.2.3.1.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/github-release-downloads/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/github-release-downloads/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/github-release-downloads/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/github-release-downloads/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/github-release-downloads/)

## توضیحات

[GitHub Release Downloads](https://ivanrf.com/en/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.

صفت ها

 * `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.).

صفت ها

 * `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.

صفت ها

 * `user`, `repo`, `prereleases`: same as above.

#### گزینه ها

Under WordPress **گزینه ها** 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.

## عکس‌های صفحه

[⌊Example of [grd_count]. Here is used to get the number for total downloads.⌉⌊Example
of [grd_count]. Here is used to get the number for total downloads.⌉[

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.⌉⌊Example of [grd_list]. Here it lists all available releases and downloads
for a repository.⌉[

Example of `[grd_list]`. Here it lists all available releases and downloads for 
a repository.

[⌊GitHub Release Downloads options page.⌉⌊GitHub Release Downloads options page.⌉[

GitHub Release Downloads options page.

## نصب

 1. Upload the `github-release-downloads` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## سوالات متداول

You’ll find more information at [ivanrf.com](https://ivanrf.com/en/github-release-downloads/).

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/464887deb4b17cc73ed9e20b72e8d916df9f624373c0e88e45e47f519577676c?
s=60&d=retro&r=g)

### 󠀁[ok](https://wordpress.org/support/topic/ok-793/)󠁿

 [zenek78](https://profiles.wordpress.org/zenek78/) 11 می 2022

ok

![](https://secure.gravatar.com/avatar/3465b61402f912eea7e7ef8dca6b17493dfc7bdd392d611477d25048e9e78a0e?
s=60&d=retro&r=g)

### 󠀁[Outstanding](https://wordpress.org/support/topic/outstanding-445/)󠁿

 [Ryan Labelle](https://profiles.wordpress.org/themovation/) 11 جولای 2020

Awesome plugin that worked perfectly for us. Thank you.

![](https://secure.gravatar.com/avatar/13e43c79e09033917ea803d89720eabfdaa9d4131fdbb76b6b4bc44fe4f75d92?
s=60&d=retro&r=g)

### 󠀁[Latest version is working fine.](https://wordpress.org/support/topic/it-didnt-worked-for-me/)󠁿

 [know2script](https://profiles.wordpress.org/know2script/) 3 سپتامبر 2016 4 پاسخ

Hi Ivan – It is great thought developing a plugin like this. But it didnt worked
for me . Could you please help me ? 1. Installed activated 2. In settings page I
didnt put any username and repo info 3. I used the shorcode directly showed in examples
section like below – [grd_list user=”IvanRF” repo=”MassiveFileRenamer” latest=”true”]
it throws me an error says invalid repo. I want to display the repo info of other
users. Is it possible ? <Jan21-2016> Latest version is working fine. Thank You

 [ خواندن تمامی 4 نقد و بررسی‌ ](https://wordpress.org/support/plugin/github-release-downloads/reviews/)

## توسعه دهندگان و همکاران

“GitHub Release Downloads” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت
کرده‌اند.

مشارکت کنندگان

 *   [ IvanRF ](https://profiles.wordpress.org/ivanrf/)

“GitHub Release Downloads” به 3 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/github-release-downloads/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “GitHub Release Downloads” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/github-release-downloads)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/github-release-downloads/),
check out the [SVN repository](https://plugins.svn.wordpress.org/github-release-downloads/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/github-release-downloads/)
by [RSS](https://plugins.trac.wordpress.org/log/github-release-downloads/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 2.3.1

 * Added Authorization HTTP header, since access_token query parameter is deprecated.
 * Minor fix for a PHP warning.

#### 2.3.0

 * Added release description, with Markdown support.
 * Added download link for release source code.
 * Added attribute to include draft and prereleases.
 * Improved dismissible admin notices.

#### 2.2.0

 * Ignore draft and prereleases for latest version. Thanks @john30 for reporting
   this.
 * Improved admin notices.

#### 2.1.0

 * Improved downloads list.

#### 2.0.1

 * Removed scopes for access token.
 * Added scopes notes.
 * Added admin notices.

#### 2.0.0.1

 * Fixed some localized strings.

#### 2.0.0

 * Added Access Token to deal with API rate limit.
 * Improved error handling. External errors are shown in order to identify root 
   causes.
 * Added help notes.
 * Moved translations to [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/github-release-downloads).

#### 1.1.0

 * Added i18n support for strings and download count.
 * Added Spanish translation.
 * Added Settings link in the Plugins list.
 * Added Donate and Follow Me links.

#### 1.0.1

 * Minor fix for a PHP warning.

#### 1.0

 * Initial release.

## اطلاعات

 *  نگارش **2.3.1**
 *  Last updated **6 سال پیش**
 *  نصب‌های فعال **60+**
 *  نگارش وردپرس ** 3.1 یا بالاتر **
 *  Tested up to **5.5.18**
 *  زبان‌ها
 * [English (US)](https://wordpress.org/plugins/github-release-downloads/)، [Spanish (Chile)](https://cl.wordpress.org/plugins/github-release-downloads/)،
   [Spanish (Spain)](https://es.wordpress.org/plugins/github-release-downloads/)،
   و [Spanish (Venezuela)](https://ve.wordpress.org/plugins/github-release-downloads/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/github-release-downloads)
 * Tags
 * [download](https://fa.wordpress.org/plugins/tags/download/)[downloads](https://fa.wordpress.org/plugins/tags/downloads/)
   [Github](https://fa.wordpress.org/plugins/tags/github/)[release](https://fa.wordpress.org/plugins/tags/release/)
   [releases](https://fa.wordpress.org/plugins/tags/releases/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/github-release-downloads/advanced/)

## امتیازها

 4.8 از 5 ستاره.

 *  [  امتیاز 3 5-ستاره     ](https://wordpress.org/support/plugin/github-release-downloads/reviews/?filter=5)
 *  [  امتیاز 1 4-ستاره     ](https://wordpress.org/support/plugin/github-release-downloads/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/github-release-downloads/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/github-release-downloads/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/github-release-downloads/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/github-release-downloads/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/github-release-downloads/reviews/)

## مشارکت کنندگان

 *   [ IvanRF ](https://profiles.wordpress.org/ivanrf/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/github-release-downloads/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RFBN78SQEZR4E)