{"id":16179,"date":"2011-12-24T21:18:28","date_gmt":"2011-12-24T21:18:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/gist-sidebar-widget\/"},"modified":"2015-07-08T00:43:45","modified_gmt":"2015-07-08T00:43:45","slug":"gist-sidebar-widget","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/gist-sidebar-widget\/","author":4040050,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"1.2","tested":"4.2.39","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"GitHub Gists Sidebar Widget","header_author":"norcross","header_description":"","assets_banners_color":"f5d29e","last_updated":"2015-07-08 00:43:45","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/andrewnorcross.com\/donate","header_plugin_uri":"http:\/\/andrewnorcross.com\/plugins","header_author_uri":"http:\/\/andrewnorcross.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2414,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"480305","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"599165","resolution":"1","location":"assets"}},"screenshots":{"1":"The plugin options displayed within the widget."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[7823,1673,162],"plugin_category":[43],"plugin_contributors":[78337],"plugin_business_model":[],"class_list":["post-16179","plugin","type-plugin","status-publish","hentry","plugin_tags-gist","plugin_tags-github","plugin_tags-widget","plugin_category-customization","plugin_contributors-norcross","plugin_committers-norcross"],"banners":{"banner":"https:\/\/ps.w.org\/gist-sidebar-widget\/assets\/banner-772x250.jpg?rev=480305","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/gist-sidebar-widget_f5d29e.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/gist-sidebar-widget\/assets\/screenshot-1.png?rev=599165","caption":"The plugin options displayed within the widget."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<h3>Potential Enhancements<\/h3>\n\n<p>I plan on including the Transients API in an upcoming release...once I figure out exactly how they work. Otherwise, feel free to suggest.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload the 'gist-sidebar-widget' folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>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.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What does this do?<\/dt>\n<dd><p>It displays your public gists from GitHub on the sidebar, linking to each of them on GitHub.<\/p><\/dd>\n<dt>They look kind of bland. Can I style them?<\/dt>\n<dd><p>Sure can. There are four classes to look at to add to you CSS.<\/p>\n\n<ul>\n<li><p>Each list item <code>&lt;li&gt;<\/code> has the class <code>gist_item<\/code><\/p><\/li>\n<li><p>Each link within the <code>&lt;li&gt;<\/code> has the class <code>gist_link<\/code><\/p><\/li>\n<li><p>The optional creation date is wrapped in a <code>&lt;span&gt;<\/code> with the class <code>gist_date<\/code><\/p><\/li>\n<li><p>The optional link to your GitHub profile is in a <code>&lt;p&gt;<\/code> with the class <code>github_link<\/code><\/p><\/li>\n<\/ul><\/dd>\n<dt>Is that it?<\/dt>\n<dd><p>Pretty much, yeah.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2<\/h4>\n\n<ul>\n<li>Update old PHP4 constructor<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added username to transient variable to allow multiple widget use.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A sidebar widget to display your public gists from GitHub.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/16179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=16179"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/norcross"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=16179"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=16179"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=16179"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=16179"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=16179"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=16179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}