Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

GitHub Gists Sidebar Widget

Descrizione

A sidebar widget to display your public gists from GitHub. Allows for optional display of creation date and link back to your GitHub profile page. Uses v3 of the GitHub API.

Potential Enhancements

I plan on including the Transients API in an upcoming release…once I figure out exactly how they work. Otherwise, feel free to suggest.

Screenshot

  • The plugin options displayed within the widget.

Installazione

This section describes how to install the plugin and get it working.

  1. Upload the ‘gist-sidebar-widget’ folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Drag the widget to your sidebar and input your username, number of gists, and options for displaying creation date and a link back to your GitHub profile.

FAQ

What does this do?

It displays your public gists from GitHub on the sidebar, linking to each of them on GitHub.

They look kind of bland. Can I style them?

Sure can. There are four classes to look at to add to you CSS.

  • Each list item <li> has the class gist_item

  • Each link within the <li> has the class gist_link

  • The optional creation date is wrapped in a <span> with the class gist_date

  • The optional link to your GitHub profile is in a <p> with the class github_link

Is that it?

Pretty much, yeah.

Recensioni

Non ci sono recensioni per questo plugin.

Contributi e sviluppo

“GitHub Gists Sidebar Widget” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Traduci “GitHub Gists Sidebar Widget” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

1.2

  • Update old PHP4 constructor

1.1

  • Added username to transient variable to allow multiple widget use.

1.0

  • Initial release