Title: Latest Github Release
Author: laurencebahiirwa
Published: <strong>20 Aprile 2019</strong>
Last modified: 21 Giugno 2022

---

Ricerca i plugin

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

Questo plugin **non è stato testato con le ultime 3 versioni principali (major releases)
di WordPress**. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare
problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

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

# Latest Github Release

 Di [laurencebahiirwa](https://profiles.wordpress.org/laurencebahiirwa/)

[Scarica](https://downloads.wordpress.org/plugin/latest-github-release.2.1.0.zip)

 * [Dettagli](https://it.wordpress.org/plugins/latest-github-release/#description)
 * [Recensioni](https://it.wordpress.org/plugins/latest-github-release/#reviews)
 * [Sviluppo](https://it.wordpress.org/plugins/latest-github-release/#developers)

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

## Descrizione

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

## Screenshot

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

## Recensioni

Non ci sono recensioni per questo plugin.

## Contributi e sviluppo

“Latest Github Release” è un software open source. Le persone che hanno contribuito
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

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

“Latest Github Release” è stato tradotto in 2 lingue. Grazie a [chi traduce](https://translate.wordpress.org/projects/wp-plugins/latest-github-release/contributors)
per il contributo.

[Traduci “Latest Github Release” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/latest-github-release)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/latest-github-release/)
segui il [repository SVN](https://plugins.svn.wordpress.org/latest-github-release/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/latest-github-release/)
tramite [RSS](https://plugins.trac.wordpress.org/log/latest-github-release/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

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

## Meta

 *  Versione **2.1.0**
 *  Ultimo aggiornamento **4 anni fa**
 *  Installazioni attive **Meno di 10**
 *  Versione WordPress ** 4.9 o superiore **
 *  Testato fino alla versione **6.0.12**
 *  Versione PHP ** 5.6 o superiore **
 *  Lingue
 * [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/latest-github-release/),
   [English (US)](https://wordpress.org/plugins/latest-github-release/), e [Luganda](https://lug.wordpress.org/plugins/latest-github-release/).
 *  [Traduci nella tua lingua](https://translate.wordpress.org/projects/wp-plugins/latest-github-release)
 * Tag
 * [Github](https://it.wordpress.org/plugins/tags/github/)[latest](https://it.wordpress.org/plugins/tags/latest/)
   [release](https://it.wordpress.org/plugins/tags/release/)[zip](https://it.wordpress.org/plugins/tags/zip/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/latest-github-release/advanced/)

## Valutazioni

Non sono state ancora inviate recensioni.

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

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/latest-github-release/reviews/)

## Collaboratori

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

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/latest-github-release/)

## Donazioni

Vuoi sostenere le versioni future?

 [ Fai una donazione per lo sviluppo ](https://omukiguy.com/)