{"id":34221,"date":"2015-01-30T22:26:42","date_gmt":"2015-01-30T22:26:42","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-admin-buttons\/"},"modified":"2015-02-01T11:07:28","modified_gmt":"2015-02-01T11:07:28","slug":"wp-admin-buttons","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/wp-admin-buttons\/","author":10206293,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"1.0.2","tested":"4.1.0","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"WP Admin Buttons","header_author":"Michael Uno","header_description":"","assets_banners_color":"37778d","last_updated":"2015-02-01 11:07:28","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/en.michaeluno.jp\/donate","header_plugin_uri":"http:\/\/en.michaeluno.jp\/wp-admin-buttons","header_author_uri":"http:\/\/michaeluno.jp","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2591,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1079307","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1079307","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1079324","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1079278","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1079278","resolution":"2","location":"assets"}},"screenshots":{"1":"<strong><em>Widget Form<\/em><\/strong>","2":"<strong><em>Front-end<\/em><\/strong>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1382,485,172,80,162],"plugin_category":[43],"plugin_contributors":[79958,79959],"plugin_business_model":[],"class_list":["post-34221","plugin","type-plugin","status-publish","hentry","plugin_tags-admin-ui","plugin_tags-button","plugin_tags-buttons","plugin_tags-shortcode","plugin_tags-widget","plugin_category-customization","plugin_contributors-michael-uno","plugin_contributors-miunosoft","plugin_committers-miunosoft"],"banners":{"banner":"https:\/\/ps.w.org\/wp-admin-buttons\/assets\/banner-772x250.png?rev=1079324","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-admin-buttons\/assets\/icon-128x128.png?rev=1079307","icon_2x":"https:\/\/ps.w.org\/wp-admin-buttons\/assets\/icon-256x256.png?rev=1079307","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-admin-buttons\/assets\/screenshot-1.png?rev=1079278","caption":"<strong><em>Widget Form<\/em><\/strong>"},{"src":"https:\/\/ps.w.org\/wp-admin-buttons\/assets\/screenshot-2.png?rev=1079278","caption":"<strong><em>Front-end<\/em><\/strong>"}],"raw_content":"<!--section=description-->\n<h4>Features<\/h4>\n\n<ul>\n<li><strong>Widget<\/strong> <\/li>\n<li><strong>Shortcode<\/strong> - for the parameters see the Other Notes section.<\/li>\n<li><strong>Custom Colors<\/strong> - set your favorite colors.<\/li>\n<\/ul>\n\n<h4>Shortcode and Function Parameters<\/h4>\n\n<p>The following parameters can be used for the shortcode or the PHP function of the plugin, <code>printWPAdminButton()<\/code><\/p>\n\n<ul>\n<li><p><strong>href<\/strong> - the link url.<\/p>\n\n<p>[wp_admin_button href=\"http:\/\/my-download-url\/file.zip\"]<\/p>\n\n 'http:\/\/my-download-url\/file.zip') ); ?&gt;<\/li>\n<li><p><strong>label<\/strong> - the text label shown in the button.<\/p>\n\n<p>[wp_admin_button label=\"Get\" href=\"http:\/\/my-download-url\/file.zip\"]<\/p>\n\n 'Get', 'href' =&gt; 'http:\/\/my-download-url\/file.zip' ) ); ?&gt;<\/li>\n<li><p><strong>size<\/strong> - the button size. This argument accepts either <code>large<\/code>, <code>medium<\/code>, <code>small<\/code>.<\/p>\n\n<p>[wp_admin_button size=\"large\" href=\"http:\/\/my-download-url\/file.zip\"]<\/p>\n\n 'large', 'href' =&gt; 'http:\/\/my-download-url\/file.zip' ) ); ?&gt;<\/li>\n<li><p><strong>type<\/strong> - the button type. This argument accepts either <code>button-primary<\/code>, or  <code>buton-secondary<\/code>.<\/p>\n\n<p>[wp_admin_button type=\"button-secondary\" href=\"http:\/\/my-download-url\/file.zip\"]<\/p>\n\n 'button-secondary', 'href' =&gt; 'http:\/\/my-download-url\/file.zip' ) ); ?&gt;<\/li>\n<\/ul>\n\n<p>The follwoing color arguments can override the defult colors.<\/p>\n\n<ul>\n<li><strong>label_color<\/strong> - the label text color.<\/li>\n<li><strong>background_color<\/strong> - the button background color.<\/li>\n<li><p><strong>border_color<\/strong> - the button border color.<\/p>\n\n<p>[wp_admin_button label_color=\"#ccc\" background_color=\"transparent\" href=\"http:\/\/my-download-url\/file.zip\"]<\/p>\n\n '#ccc',\n        'background_color'  =&gt; 'transparent',\n        'href'              =&gt; 'http:\/\/my-download-url\/file.zip',\n    )\n); \n?&gt;<\/li>\n<\/ul>\n\n<p>The following additional HTML tag attributes can be set.<\/p>\n\n<ul>\n<li><strong>title<\/strong> - the <code>title<\/code> attribute.<\/li>\n<li><strong>class<\/strong> - the <code>class<\/code> attribute.<\/li>\n<li><strong>style<\/strong> - the <code>inline<\/code> style attribute.<\/li>\n<li><strong>target<\/strong> - the <code>target<\/code> attribute.<\/li>\n<li><p><strong>rel<\/strong> - the <code>rel<\/code> attribute.<\/p>\n\n<p>[wp_admin_button title=\"Get the file now!\" class=\"my-custom-class-selector\" \"style=\"text-align:center;\" target=\"_blank\" rel=\"nofollow\" href=\"http:\/\/my-download-url\/file.zip\"]<\/p>\n\n 'button-secondary', \n        'title'     =&gt; 'Get the file now!',\n        'class'     =&gt; 'my-custom-class-selector',\n        'style'     =&gt; 'text-align:center',\n        'target'    =&gt; '_blank',\n        'href'      =&gt; 'http:\/\/my-download-url\/file.zip',\n    )\n); \n?&gt;<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Install<\/h4>\n\n<ol>\n<li>Upload <strong><code>wp-admin-buttons.php<\/code><\/strong> and other files compressed in the zip folder to the <strong><code>\/wp-content\/plugins\/<\/code><\/strong> directory.,<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.2 - 2015\/02\/01<\/h4>\n\n<ul>\n<li>Fixed field title labels of the widget form.<\/li>\n<\/ul>\n\n<h4>1.0.1 - 2015\/01\/31<\/h4>\n\n<ul>\n<li>Fixed a misspelled function name.<\/li>\n<\/ul>\n\n<h4>1.0.0 - 2015\/01\/31<\/h4>\n\n<ul>\n<li>Chagned the version for release.<\/li>\n<\/ul>\n\n<h4>0.0.6<\/h4>\n\n<ul>\n<li>Fixed a compatibility issue with third-party plugins.<\/li>\n<\/ul>\n\n<h4>0.0.5<\/h4>\n\n<ul>\n<li>Added the ability to restore the previous color when the mouse cursor goes out the button.<\/li>\n<\/ul>\n\n<h4>0.0.4<\/h4>\n\n<ul>\n<li>Added custom mouse hover color fields.<\/li>\n<\/ul>\n\n<h4>0.0.3<\/h4>\n\n<ul>\n<li>Added a description field in the widget form.<\/li>\n<\/ul>\n\n<h4>0.0.2<\/h4>\n\n<ul>\n<li>Fixed some small bugs.<\/li>\n<\/ul>\n\n<h4>0.0.1 - 2015\/01\/27<\/h4>\n\n<ul>\n<li>Released beta.<\/li>\n<\/ul>","raw_excerpt":"Displays WordPress admin style buttons in the front end.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/34221","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=34221"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/miunosoft"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=34221"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=34221"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=34221"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=34221"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=34221"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=34221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}