{"id":21875,"date":"2013-02-04T22:42:05","date_gmt":"2013-02-04T22:42:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/github-embed\/"},"modified":"2025-12-02T09:44:35","modified_gmt":"2025-12-02T09:44:35","slug":"github-embed","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/github-embed\/","author":3577361,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.2.1","stable_tag":"2.2.1","tested":"6.9.4","requires":"6.2","requires_php":"","requires_plugins":null,"header_name":"Github Embed","header_author":"Ademti Software Ltd.","header_description":"","assets_banners_color":"9999ca","last_updated":"2025-12-02 09:44:35","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.leewillis.co.uk\/wordpress-plugins\/?utm_source=wordpress&utm_medium=www&utm_campaign=github-embed","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/github-embed\/","header_author_uri":"https:\/\/www.ademti-software.co.uk\/","rating":3.8,"author_block_rating":0,"active_installs":1000,"downloads":28505,"num_ratings":14,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"leewillis77","date":"2013-02-04 22:45:32"},"1.1":{"tag":"1.1","author":"leewillis77","date":"2013-02-09 20:13:18"},"1.2":{"tag":"1.2","author":"leewillis77","date":"2013-02-10 21:21:32"},"1.3":{"tag":"1.3","author":"leewillis77","date":"2013-03-13 20:56:47"},"1.4":{"tag":"1.4","author":"leewillis77","date":"2016-07-28 09:05:48"},"1.5":{"tag":"1.5","author":"leewillis77","date":"2017-06-05 10:05:30"},"1.6":{"tag":"1.6","author":"leewillis77","date":"2019-10-29 16:47:38"},"1.7":{"tag":"1.7","author":"leewillis77","date":"2019-05-17 16:11:25"},"1.8":{"tag":"1.8","author":"leewillis77","date":"2019-09-02 12:57:46"},"1.9":{"tag":"1.9","author":"leewillis77","date":"2020-01-28 17:08:07"},"2.0":{"tag":"2.0","author":"leewillis77","date":"2020-02-05 10:33:12"},"2.0.1":{"tag":"2.0.1","author":"leewillis77","date":"2020-11-24 08:46:35"},"2.0.2":{"tag":"2.0.2","author":"leewillis77","date":"2021-02-08 09:31:12"},"2.1.0":{"tag":"2.1.0","author":"leewillis77","date":"2025-04-08 09:27:50"},"2.2.0":{"tag":"2.2.0","author":"leewillis77","date":"2025-05-15 15:39:18"},"2.2.1":{"tag":"2.2.1","author":"leewillis77","date":"2025-12-02 09:44:35"}},"upgrade_notice":[],"ratings":{"1":4,"2":0,"3":0,"4":0,"5":9},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":665706,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9","2.0","2.0.1","2.0.2","2.1.0","2.2.0","2.2.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":665699,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":665699,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":666022,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":666022,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"GitHub Repository","2":"GitHub user profile","3":"Project milestone summaries","4":"Project contributors"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[230,1673,2874],"plugin_category":[56],"plugin_contributors":[78962],"plugin_business_model":[],"class_list":["post-21875","plugin","type-plugin","status-publish","hentry","plugin_tags-embed","plugin_tags-github","plugin_tags-oembed","plugin_category-social-and-sharing","plugin_contributors-leewillis77","plugin_committers-leewillis77"],"banners":{"banner":"https:\/\/ps.w.org\/github-embed\/assets\/banner-772x250.png?rev=665706","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/github-embed_9999ca.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/github-embed\/assets\/screenshot-1.png?rev=665699","caption":"GitHub Repository"},{"src":"https:\/\/ps.w.org\/github-embed\/assets\/screenshot-2.png?rev=665699","caption":"GitHub user profile"},{"src":"https:\/\/ps.w.org\/github-embed\/assets\/screenshot-3.png?rev=666022","caption":"Project milestone summaries"},{"src":"https:\/\/ps.w.org\/github-embed\/assets\/screenshot-4.png?rev=666022","caption":"Project contributors"}],"raw_content":"<!--section=description-->\n<p>Plugin that allows you to embed details from GitHub just by pasting in the URL as you would any other embed source. Currently supports:<\/p>\n\n<ul>\n<li>Repositories<\/li>\n<li>User profiles<\/li>\n<li>Project milestone summaries<\/li>\n<li>Project contributors<\/li>\n<\/ul>\n\n<p>Coming soon:<\/p>\n\n<ul>\n<li>Gists...<\/li>\n<\/ul>\n\n<p>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!<\/p>\n\n<p>The main development is all going on on <a href=\"https:\/\/github.com\/leewillis77\/wp-github-oembed\">GitHub<\/a>.<\/p>\n\n<h3>Treeware<\/h3>\n\n<p>You're free to use this package for free, but if it makes it to your production environment please <a href=\"https:\/\/offset.earth\/ademtisoftware?gift-trees\">buy the world a tree<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Paste a Github repo, or user URL into a post, or page<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20change%20the%20layout%3F'><h3>Can I change the layout?<\/h3><\/dt>\n<dd><p>Yes, you can override templates by copying the relevant template from the templates folder to a folder in your theme called <code>wp-github-oembed\/<\/code><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>No changes. Internal re-packaging.<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Fix issue where data was not pass to overridden templates, making templating possible.<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Wrap recent commits in a  tag, expanded by default. Props ZjzMisaka on GitHub<\/li>\n<li>Wrap contributor details in a  tag, expanded by default.<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Fix issue where GitHub serves incorrectly sized images for non-avatar users<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Suggest Treeware donations<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Support for authenticating using personal access tokens<\/li>\n<\/ul>\n\n<h4>1.9<\/h4>\n\n<ul>\n<li>Remove unused code - thanks to https:\/\/github.com\/pjaudiomv<\/li>\n<\/ul>\n\n<h4>1.8<\/h4>\n\n<ul>\n<li>New: All responses are now templated thanks to https:\/\/github.com\/Zebouski<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Include GitHub logo rather than hotlinking to (no-longer supported) repo for image<\/li>\n<li>Add wp_github_oembed_logo_class filter<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Internal code cleanups<\/li>\n<li>Remove unnecessary debug code<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Fixes for newer GitHub milestone URLs<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Fix PHP warning that could block contributor embeds.<\/li>\n<li>Fix Contributor embeds to use correct API call<\/li>\n<li>Pass correct initial value to credentials filters<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Expire the oEmbed cache daily<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Split API calls into separate class<\/li>\n<li>Implement milestone summaries<\/li>\n<li>Implement contributor lists<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Default CSS and more styling<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"Plugin that allows you to embed details from GitHub just by pasting in the URL as you would any other embed source. Currently supports:","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21875","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21875"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/leewillis77"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21875"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21875"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21875"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21875"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21875"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}