leewillis77 / wp-github-oembed

WordPress Github "oEmbed" plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Support this free plugin

We're a climate-positive workforce

Using this plugin on your live site? Please buy the world some trees...

Support this free plugin by planting trees

It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees.

As a business, we already donate a percentage of our profits from premium plugins to global climate change projects. You're free to use this plugin free of charge, but if you do, please consider buying the world some trees in return.

You’ll be creating employment for local families and restoring wildlife habitats.

Frequently Asked Questions

Can I change the layout?

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

Screenshots

Changelog

  • 1.9

    • Remove unused code - thanks to pjaudiomv on GitHub.
  • 1.8

  • 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

About

WordPress Github "oEmbed" plugin

License:GNU General Public License v2.0


Languages

Language:PHP 84.7%Language:Shell 12.3%Language:CSS 3.0%