You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Lee Willis 68c3aa9c78 Whitespace cleanup 8 years ago
css Specify a foreground text color for the widget. Fixes #12 10 years ago
README.md Bump (v1.4) 11 years ago
banner-772x250.png Add banner for WP.org 12 years ago
deploy.sh Deploy script fixes 12 years ago
github-api.php Support for newer milestone URLs 8 years ago
github-embed.php Whitespace cleanup 8 years ago
readme.txt Update "tested to" flag 8 years ago
screenshot-1.png Add screenshot for wp.org 12 years ago
screenshot-2.png Another screenshot 12 years ago
screenshot-3.png Milestone summary screenshot 12 years ago
screenshot-4.png Documentation fixes 12 years ago

README.md

Github Embed

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

https://github.com/leewillis77/wp-github-oembed Sample output for repository

User profiles

https://github.com/leewillis77/ Sample output for a user

Milestone summaries

https://github.com/leewillis77/wp-github-oembed/issues?milestone=1&state=open Sample output for a milestone

Repository contributors

https://github.com/leewillis77/wp-github-oembed/graphs/contributors Sample output for a list of 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! lugin that allows you to embed details about a github user, or repo just by pasting in the repo URL as you would any other embed source.

Installation

  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

Frequently Asked Questions

Can I change the layout?

Not yet, we're hoping to add templating - all contributions welcome!

Screenshots

Changelog

  • 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

    • Support for milestone summaries
    • Support for contributor lists
  • 1.1

    • Default CSS and more styling
  • 1.0

    • First release