Title: Latest Github Release
Author: laurencebahiirwa
Published: <strong>20 Tháng 4, 2019</strong>
Last modified: 21 Tháng 6, 2022

---

Tìm kiếm plugin

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

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# Latest Github Release

 Bởi [laurencebahiirwa](https://profiles.wordpress.org/laurencebahiirwa/)

[Tải về](https://downloads.wordpress.org/plugin/latest-github-release.2.1.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/latest-github-release/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/latest-github-release/#reviews)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/latest-github-release/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/latest-github-release/)

## Mô tả

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

## Ảnh màn hình

[[

[[

[[

[[

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Latest Github Release” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

“Latest Github Release” đã được dịch qua 2 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/latest-github-release/contributors)
vì đóng góp của họ.

[Dịch “Latest Github Release” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/latest-github-release)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/latest-github-release/),
check out [SVN repository](https://plugins.svn.wordpress.org/latest-github-release/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/latest-github-release/)
qua [RSS](https://plugins.trac.wordpress.org/log/latest-github-release/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

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

 *  Phiên bản **2.1.0**
 *  Cập nhật lần cuối **4 năm trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 4.9 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.0.14**
 *  Phiên bản PHP ** 5.6 hoặc cao hơn **
 *  Ngôn ngữ
 * [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/latest-github-release/),
   [English (US)](https://wordpress.org/plugins/latest-github-release/), và [Luganda](https://lug.wordpress.org/plugins/latest-github-release/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/latest-github-release)
 * Thẻ
 * [Github](https://vi.wordpress.org/plugins/tags/github/)[latest](https://vi.wordpress.org/plugins/tags/latest/)
   [release](https://vi.wordpress.org/plugins/tags/release/)[zip](https://vi.wordpress.org/plugins/tags/zip/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/latest-github-release/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/latest-github-release/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/latest-github-release/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://omukiguy.com/)