Deskripsyon
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.
Pag-install
This section describes how to install the plugin and get it working.
- Upload the ‘gist-sidebar-widget’ folder to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- 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 classgist_item -
Each link within the
<li>has the classgist_link -
The optional creation date is wrapped in a
<span>with the classgist_date -
The optional link to your GitHub profile is in a
<p>with the classgithub_link
-
- Is that it?
-
Pretty much, yeah.
Mga Review
Wala pang reviews para sa plugin na ito.
Mga Contributor at Developer
Ang “GitHub Gists Sidebar Widget” ay open source software. Ang mga sumusunod na tao ay nag-ambag sa plugin na ito.
Mga ContributorIsalin ang “GitHub Gists Sidebar Widget” sa iyong wika.
Interesado sa development?
Tingnan ang code, i-check ang SVN repository, o mag-subscribe sa development log sa pamamagitan ng RSS.
Changelog
1.2
- Update old PHP4 constructor
1.1
- Added username to transient variable to allow multiple widget use.
1.0
- Initial release

