Title: Latest Github Release
Author: laurencebahiirwa
Published: <strong>20.04.2019</strong>
Last modified: 21.06.2022

---

Шукати плагіни

![](https://ps.w.org/latest-github-release/assets/banner-772x250.jpg?rev=2745823)

Цей плагін **не перевірявся з останніми 3-ма основними випусками WordPress**. Можливо,
він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності
при використанні з більш новими версіями WordPress.

![](https://ps.w.org/latest-github-release/assets/icon-256x256.jpg?rev=2745823)

# Latest Github Release

 Від автора [laurencebahiirwa](https://profiles.wordpress.org/laurencebahiirwa/)

[Завантажити](https://downloads.wordpress.org/plugin/latest-github-release.2.1.0.zip)

 * [Деталі](https://uk.wordpress.org/plugins/latest-github-release/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/latest-github-release/#reviews)
 * [Розробка](https://uk.wordpress.org/plugins/latest-github-release/#developers)

 [Підтримка](https://wordpress.org/support/plugin/latest-github-release/)

## Опис

Automatically add a download link to the latest Github repo release zips with
 a
shortcode [latest_github_release user=”github” repo=”hub”]

### Usage

Add the shortcode `[latest_github_release user="github" repo="hub"]` to desired 
post/page/widget and save to have the code working.

### options

One can add some customization to the shortcode such as

 * Name of the button = `[latest_github_release name="Desired Name"]`

### Use latest_github_release_link filter Hook

    ```
    `
    ```

add_filter( ‘latest_github_release_link’, ‘gmlatest_github_release_link’, 10, 3 );

function gmlatest_github_release_link( $html, $atts, $zip_url ) {

    ```
    // Add another class to the <a>.
    $atts['class'] .= ' another-class';

    // Add <h2> around the tag.
    $html = (
        '<h2><a href="' . esc_attr( $zip_url ) . '"'
        . ' class="' . esc_attr( $atts['class'] ) . '">'
        . esc_html( $atts['name'] )
        . '</a></h2>'
    );

    return $html;
    ```

}
 `

**Note:**
 1. Name attribute defaults to the word “Download” 1. Name is usedin combination
with the other attribbutes user & repo.

### Contribute/Issues/Feedback

If you have any feedback, just write an issue. Or fork the code and submit a PR 
[on Github](https://github.com/bahiirwa/Latest-Github-Release).

## Скріншоти

 * [[
 * [[
 * [[
 * [[

## Відгуки

Для цього плагіна немає відгуків.

## Учасники та розробники

“Latest Github Release” — проект з відкритим вихідним кодом. В розвиток плагіну 
внесли свій вклад наступні учасники:

Учасники

 *   [ laurencebahiirwa ](https://profiles.wordpress.org/laurencebahiirwa/)
 *   [ James Nylen ](https://profiles.wordpress.org/jnylen0/)

“Latest Github Release” було перекладено на 2 локалізації. Дякуємо [перекладачам](https://translate.wordpress.org/projects/wp-plugins/latest-github-release/contributors)
за їх роботу.

[Перекладіть “Latest Github Release” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/latest-github-release)

### Цікавитесь розробкою?

[Перегляньте код](https://plugins.trac.wordpress.org/browser/latest-github-release/),
перегляньте [сховище SVN](https://plugins.svn.wordpress.org/latest-github-release/)
або підпишіться на [журнал розробки](https://plugins.trac.wordpress.org/log/latest-github-release/)
за допомогою [RSS](https://plugins.trac.wordpress.org/log/latest-github-release/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

** 2.1.0 **
 – Test for WP 6.0 – Fix missing $zip_url in filter.

** 2.0.0 **
 – Updates the plugin to use static functions and to have code that 
is re-usable by other plugins.

** 1.2.0 **
 – Fix Caching errors. – Better docs. – Coding style/consistency fixes.

** 1.1.0 **
 – Code improvements.

** 1.0.0 **
 – Initial Release.

## Мета

 *  Версія **2.1.0**
 *  Останнє оновлення **4 роки тому**
 *  Активних встановлень **Менше 10**
 *  Версія WordPress ** 4.9 або вище **
 *  Tested up to **6.0.11**
 *  Версія PHP ** 5.6 або вище **
 *  Мови
 * [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/latest-github-release/),
   [English (US)](https://wordpress.org/plugins/latest-github-release/) і [Luganda](https://lug.wordpress.org/plugins/latest-github-release/).
 *  [Перекладіть на свою мову](https://translate.wordpress.org/projects/wp-plugins/latest-github-release)
 * Позначки
 * [Github](https://uk.wordpress.org/plugins/tags/github/)[latest](https://uk.wordpress.org/plugins/tags/latest/)
   [release](https://uk.wordpress.org/plugins/tags/release/)[zip](https://uk.wordpress.org/plugins/tags/zip/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/latest-github-release/advanced/)

## Оцінки

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/latest-github-release/reviews/)

## Учасники

 *   [ laurencebahiirwa ](https://profiles.wordpress.org/laurencebahiirwa/)
 *   [ James Nylen ](https://profiles.wordpress.org/jnylen0/)

## Підтримка

Є що сказати? Потрібна допомога?

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/latest-github-release/)

## Пожертвування

Ви хотіли б підтримати розвиток цього плагіна?

 [ Пожертвувати на розвиток плагіна ](https://omukiguy.com/)