Title: Latest Github Release
Author: laurencebahiirwa
Published: <strong>20 de Abril de  2019</strong>
Last modified: 21 de Junio de  2022

---

Buscar plugins

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

Este plugin **no ha sido probado con ninguna las 3 últimas versiones principales
de WordPress**. Puede que ya no se mantenga o no tenga soporte, y puede que tenga
problemas de compatibilidad cuando se utiliza con versiones más recientes de WordPress.

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

# Latest Github Release

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

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

 * [Detalles](https://cl.wordpress.org/plugins/latest-github-release/#description)
 * [Reseñas](https://cl.wordpress.org/plugins/latest-github-release/#reviews)
 * [Desarrollo](https://cl.wordpress.org/plugins/latest-github-release/#developers)

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

## Descripción

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

## Capturas de pantalla

[[

[[

[[

[[

## Reseñas

No hay reseñas para este plugin.

## Colaboradores & Desarrolladores

“Latest Github Release” es software de código abierto. Las siguientes personas han
contribuido a este plugin.

Colaboradores

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

“Latest Github Release” ha sido traducido en 2 idiomas. Gracias a [los traductores](https://translate.wordpress.org/projects/wp-plugins/latest-github-release/contributors)
por sus contribuciones.

[Traduce “Latest Github Release” a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/latest-github-release)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/latest-github-release/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/latest-github-release/),
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/latest-github-release/)
por [RSS](https://plugins.trac.wordpress.org/log/latest-github-release/?limit=100&mode=stop_on_copy&format=rss).

## Historial de cambios

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

 *  Versión **2.1.0**
 *  Última actualización **hace 4 años**
 *  Instalaciones activas **Menos de 10**
 *  Versión de WordPress ** 4.9 o superior **
 *  Probado hasta **6.0.14**
 *  Versión de PHP ** 5.6 o superior **
 *  Idiomas
 * [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/latest-github-release/),
   [English (US)](https://wordpress.org/plugins/latest-github-release/), y [Luganda](https://lug.wordpress.org/plugins/latest-github-release/).
 *  [Traducir a tu idioma](https://translate.wordpress.org/projects/wp-plugins/latest-github-release)
 * Etiquetas
 * [Github](https://cl.wordpress.org/plugins/tags/github/)[latest](https://cl.wordpress.org/plugins/tags/latest/)
   [release](https://cl.wordpress.org/plugins/tags/release/)[zip](https://cl.wordpress.org/plugins/tags/zip/)
 *  [Vista Avanzada](https://cl.wordpress.org/plugins/latest-github-release/advanced/)

## Calificaciones

Aún no se han enviado valoraciones.

[Tu reseña](https://wordpress.org/support/plugin/latest-github-release/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/latest-github-release/reviews/)

## Colaboradores

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

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/latest-github-release/)

## Donar

¿Te gustaría apoyar el avance de este plugin?

 [ Donar para este plugin ](https://omukiguy.com/)