Title: Github Embed
Author: Lee Willis
Published: <strong>4 Tháng 2, 2013</strong>
Last modified: 18 Tháng 5, 2026

---

Tìm kiếm plugin

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

![](https://s.w.org/plugins/geopattern-icon/github-embed_9999ca.svg)

# Github Embed

 Bởi [Lee Willis](https://profiles.wordpress.org/leewillis77/)

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

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

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

## Mô tả

Plugin that allows you to embed details from GitHub just by pasting in the URL as
you would any other embed source. Currently supports:

 * Repositories
 * User profiles
 * Project milestone summaries
 * Project contributors

Coming soon:

 * Gists…

The plugin provides very basic styling, but adds classes so you can style as you
see fit. If anyone has some ideas for a better default stylesheet – pull requests
welcome!

The main development is all going on on [GitHub](https://github.com/leewillis77/wp-github-oembed).

### Treeware

You’re free to use this package for free, but if it makes it to your production 
environment please [buy the world a tree](https://offset.earth/ademtisoftware?gift-trees).

## Ảnh màn hình

[⌊GitHub Repository⌉⌊GitHub Repository⌉[

GitHub Repository

[⌊GitHub user profile⌉⌊GitHub user profile⌉[

GitHub user profile

[⌊Project milestone summaries⌉⌊Project milestone summaries⌉[

Project milestone summaries

[⌊Project contributors⌉⌊Project contributors⌉[

Project contributors

## Cài đặt

 1. Upload the plugin to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Paste a Github repo, or user URL into a post, or page

## Hỏi đáp

### Can I change the layout?

Yes, you can override templates by copying the relevant template from the templates
folder to a folder in your theme called `wp-github-oembed/`

## Đánh giá

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

### 󠀁[Does seem to work, with this 1 simple trick](https://wordpress.org/support/topic/does-seem-to-work-with-this-1-simple-trick/)󠁿

 [Ted Thompson](https://profiles.wordpress.org/yorokobi/) 25 Tháng 12, 2023

http instead of https. Posting the URL (which should trigger an embed in Gutenberg)
using https seems to be hit or miss, but using http worked for all URLs I tried.

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

### 󠀁[Sadly not working](https://wordpress.org/support/topic/sadly-not-working-4/)󠁿

 [sighallgone](https://profiles.wordpress.org/sighallgone/) 7 Tháng 1, 2023 1 trả
lời

Doesn’t seem to work sadly. Trying to add my public repos to a page and they are
not showing up like in the screenshots. I don’t think I am doing anything wrong,
but perhaps a bit of better documentation and screenshots on how to actually add
stuff would resolve the confusion if it is actually working.

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

### 󠀁[Not working at all for me](https://wordpress.org/support/topic/not-working-at-all-for-me-7/)󠁿

 [lordmatt](https://profiles.wordpress.org/lordmatt/) 9 Tháng 7, 2022

I’ve tried on two separate multisite installs and I cannot get any GitHub URL to
embed at all.

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

### 󠀁[Plugin is working perfectly for public repositories!](https://wordpress.org/support/topic/plugin-is-not-working-146/)󠁿

 [gk8s](https://profiles.wordpress.org/gk8s/) 7 Tháng 6, 2021 3 trả lời

Tested with WordPress 5.7.2 Plugin works only for public repositories. It would 
be great to also support private repositories.

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

### 󠀁[this doesn’t embed anything and is listed as the first embed plugin for github](https://wordpress.org/support/topic/this-doesnt-embed-anything-and-is-listed-as-the-first-embed-plugin-for-github/)󠁿

 [laresistenciadelbit](https://profiles.wordpress.org/lrdb/) 9 Tháng 5, 2021 3 trả
lời

This doesn’t embed anything and is listed as the first embed plugin for github. 
I even made my own embeding plugin for embed github content (repos,files,readmes…)
years ago, and this plugin of yours is the first of the list even if doesn’t embed
anything, just the name of the repository ? wtf

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

### 󠀁[very nice plugin!](https://wordpress.org/support/topic/very-nice-plugin-724/)󠁿

 [Alessandro](https://profiles.wordpress.org/pinoperino/) 5 Tháng 2, 2020 1 trả 
lời

Very useful and simple plugin to add a repo in a Wordpress post.

 [ Đọc tất cả 13 đánh giá ](https://wordpress.org/support/plugin/github-embed/reviews/)

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

“Github Embed” 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

 *   [ Lee Willis ](https://profiles.wordpress.org/leewillis77/)

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

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

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

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

## Nhật ký thay đổi

#### 2.2.1

 * No changes. Internal re-packaging.

#### 2.2.0

 * Fix issue where data was not pass to overridden templates, making templating 
   possible.

#### 2.1.0

 * Wrap recent commits in a tag, expanded by default. Props ZjzMisaka on GitHub
 * Wrap contributor details in a tag, expanded by default.

#### 2.0.2

 * Fix issue where GitHub serves incorrectly sized images for non-avatar users

#### 2.0.1

 * Suggest Treeware donations

#### 2.0

 * Support for authenticating using personal access tokens

#### 1.9

 * Remove unused code – thanks to https://github.com/pjaudiomv

#### 1.8

 * New: All responses are now templated thanks to https://github.com/Zebouski

#### 1.7

 * Include GitHub logo rather than hotlinking to (no-longer supported) repo for 
   image
 * Add wp_github_oembed_logo_class filter

#### 1.6

 * Internal code cleanups
 * Remove unnecessary debug code

#### 1.5

 * Fixes for newer GitHub milestone URLs

#### 1.4

 * Fix PHP warning that could block contributor embeds.
 * Fix Contributor embeds to use correct API call
 * Pass correct initial value to credentials filters

#### 1.3

 * Expire the oEmbed cache daily

#### 1.2

 * Split API calls into separate class
 * Implement milestone summaries
 * Implement contributor lists

#### 1.1

 * Default CSS and more styling

#### 1.0

 * First release

## Meta

 *  Phiên bản **2.2.1**
 *  Cập nhật lần cuối **1 tháng trước**
 *  Số lượt cài đặt **1.000+**
 *  Phiên bản WordPress ** 6.2 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/github-embed/) và [Swedish](https://sv.wordpress.org/plugins/github-embed/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/github-embed)
 * Thẻ
 * [embed](https://vi.wordpress.org/plugins/tags/embed/)[Github](https://vi.wordpress.org/plugins/tags/github/)
   [oembed](https://vi.wordpress.org/plugins/tags/oembed/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/github-embed/advanced/)

## Đánh giá

 3.9 trên 5 sao.

 *  [  10 5-star reviews     ](https://wordpress.org/support/plugin/github-embed/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/github-embed/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/github-embed/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/github-embed/reviews/?filter=2)
 *  [  4 1-star reviews     ](https://wordpress.org/support/plugin/github-embed/reviews/?filter=1)

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

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

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

 *   [ Lee Willis ](https://profiles.wordpress.org/leewillis77/)

## 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/github-embed/)

## Ủ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 ](http://www.leewillis.co.uk/wordpress-plugins/?utm_source=wordpress&utm_medium=www&utm_campaign=github-embed)