|
6 years ago | |
---|---|---|
css | 6 years ago | |
img/github-logos | 6 years ago | |
templates | 6 years ago | |
LICENSE.txt | 8 years ago | |
README.md | 6 years ago | |
banner-772x250.png | 12 years ago | |
deploy.sh | 6 years ago | |
github-api.php | 6 years ago | |
github-embed.php | 6 years ago | |
readme.txt | 6 years ago | |
screenshot-1.png | 12 years ago | |
screenshot-2.png | 12 years ago | |
screenshot-3.png | 12 years ago | |
screenshot-4.png | 12 years ago | |
widget.php | 6 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
User profiles
https://github.com/leewillis77/
Milestone summaries
https://github.com/leewillis77/wp-github-oembed/issues?milestone=1&state=open
Repository contributors
https://github.com/leewillis77/wp-github-oembed/graphs/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
- Upload the plugin to the
/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
- 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.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
- Support for milestone summaries
- Support for contributor lists
-
1.1
- Default CSS and more styling
-
1.0
- First release