{"id":110324,"date":"2019-10-12T02:39:38","date_gmt":"2019-10-12T02:39:38","guid":{"rendered":"https:\/\/cn.wordpress.org\/plugins\/card-for-github\/"},"modified":"2019-10-12T04:42:37","modified_gmt":"2019-10-12T04:42:37","slug":"card-for-github","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/card-for-github\/","author":12042326,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.4","stable_tag":"1.0.4","tested":"5.2.24","requires":"4.0","requires_php":"5.6","requires_plugins":"","header_name":"Card for GitHub","header_author":"Neo","header_description":"GitHub \u4ee3\u7801\u4ed3\u5e93\u77ed\u4ee3\u7801\u5c55\u793a\uff0c\u53e6\u652f\u6301\u5c55\u793a\u7528\u6237\u4ed3\u5e93\u4e00\u89c8","assets_banners_color":"83bff1","last_updated":"2019-10-12 04:42:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/ineo6\/github-card","header_author_uri":"http:\/\/idayer.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1300,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"2172082","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"2172082","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"2172082","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"2172082","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2172082","resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"2172082","resolution":"2","location":"plugin"}},"screenshots":{"1":"Github Card","2":"Generate GitHub personal access token"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[15095,1214,1673,24598],"plugin_category":[],"plugin_contributors":[177270],"plugin_business_model":[],"class_list":["post-110324","plugin","type-plugin","status-publish","hentry","plugin_tags-card","plugin_tags-code","plugin_tags-github","plugin_tags-repo","plugin_contributors-ineo6","plugin_committers-ineo6"],"banners":{"banner":"https:\/\/ps.w.org\/card-for-github\/assets\/banner-772x250.png?rev=2172082","banner_2x":"https:\/\/ps.w.org\/card-for-github\/assets\/banner-1544x500.png?rev=2172082","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/card-for-github\/assets\/icon-128x128.png?rev=2172082","icon_2x":"https:\/\/ps.w.org\/card-for-github\/assets\/icon-256x256.png?rev=2172082","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/card-for-github\/trunk\/screenshot-1.png?rev=2172082","caption":"Github Card"},{"src":"https:\/\/ps.w.org\/card-for-github\/trunk\/screenshot-2.png?rev=2172082","caption":"Generate GitHub personal access token"}],"raw_content":"<!--section=description-->\n<p>Add <a href=\"https:\/\/github.com\/\">GitHub<\/a> repository card into wordpress.<\/p>\n\n<p>\u5728 WordPress \u6587\u7ae0\/\u9875\u9762\u4e2d\u5d4c\u5165 <a href=\"https:\/\/github.com\/\">GitHub<\/a> \u4ed3\u5e93\u5361\u7247\u3002<\/p>\n\n<h3>Feature<\/h3>\n\n<ul>\n<li>Support shortCode to display Card<\/li>\n<li>Support widget<\/li>\n<li>Provide call function<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<h4>1. ShortCode<\/h4>\n\n<pre><code>[ghCard owner='ineo6' name='mini-deploy']\n<\/code><\/pre>\n\n<h4>2. Widget<\/h4>\n\n<p>Go to wordpress admin panel to Appearance &gt; Widget.<\/p>\n\n<h4>3. Call function<\/h4>\n\n<pre><code>wp_github_card_user(array( 'user' =&gt; 'ineo6' ))\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to your <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>(Optional) Fill in your GitHub personal access token in plugin options page.<\/li>\n<\/ol>\n\n<p>--<\/p>\n\n<ol>\n<li>\u4e0a\u4f20\u63d2\u4ef6\u5230\u60a8\u7684 WordPress \u63d2\u4ef6\u76ee\u5f55\u3002<\/li>\n<li>\u767b\u5f55\u540e\u53f0\u6fc0\u6d3b\u63d2\u4ef6\u3002<\/li>\n<li>(\u53ef\u9009)\u5728\u63d2\u4ef6\u8bbe\u7f6e\u9875\u9762\u586b\u5199\u4f60\u7684 GitHub \u4e2a\u4eba\u8bbf\u95ee\u4ee4\u724c\u3002<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.4 (2019-10-12)<\/h4>\n\n<ul>\n<li>Update readme.<\/li>\n<\/ul>\n\n<h4>1.0.0 (2019-10-01)<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Add GitHub repository card into wordpress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/110324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=110324"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ineo6"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=110324"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=110324"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=110324"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=110324"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=110324"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=110324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}