{"id":13514,"date":"2011-06-03T11:57:08","date_gmt":"2011-06-03T11:57:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/plus-one-button\/"},"modified":"2011-06-12T20:38:00","modified_gmt":"2011-06-12T20:38:00","slug":"plus-one-button","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/plus-one-button\/","author":107621,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.2","stable_tag":"trunk","tested":"3.2.1","requires":"3.1","requires_php":"","requires_plugins":"","header_name":"Plus One Button","header_author":"Michael Fields","header_description":"","assets_banners_color":"","last_updated":"2011-06-12 20:38:00","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/wordpress.mfields.org\/donate\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/plus-one-button\/","header_author_uri":"http:\/\/wordpress.mfields.org\/","rating":3,"author_block_rating":0,"active_installs":50,"downloads":15776,"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":"1","4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[501,485,150,2912],"plugin_category":[],"plugin_contributors":[78847],"plugin_business_model":[],"class_list":["post-13514","plugin","type-plugin","status-closed","hentry","plugin_tags-501","plugin_tags-button","plugin_tags-google","plugin_tags-plus-one","plugin_contributors-mfields","plugin_committers-mfields"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/plus-one-button.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Add Google +1 (Plus One) buttons throughout your website. Built using best practices in WordPress plugin development providing you a safe and secure way to add this feature to your posts and pages. There are many options available for customization. Please read below for details.<\/p>\n\n<h4>Automatic Theme Integration<\/h4>\n\n<ul>\n<li>Supports both xhtml and html5 markup.<\/li>\n<li>Choose from <a href=\"http:\/\/code.google.com\/apis\/+1button\/#languages\">44 languages<\/a>.<\/li>\n<li>Insert button relative to the content in singular templates.<\/li>\n<li>Insert button relative to the content and\/or excerpt in archive templates.<\/li>\n<li>Support for posts, pages and media as well as any custom post types installed on your site.<\/li>\n<\/ul>\n\n<h4>Manual Theme Integration<\/h4>\n\n<p>If you find that the automatic options are limiting in any way, you can un-select all of them and use the <code>mfields-plus-one-button<\/code> action directly in your theme files. Below you will find examples of different ways to customize the action.<\/p>\n\n<pre><code>\/**\n * Default usage.\n * Should be used inside The Loop.\n *\/\ndo_action( 'mfields-plus-one-button' );\n\n\n\n\/**\n * Small button with count.\n *\/\ndo_action( 'mfields-plus-one-button', array(\n    'size'  =&gt; 'small',\n    'count' =&gt; 'true',\n    ) );\n\n\n\n\/**\n * Small button without count.\n *\/\ndo_action( 'mfields-plus-one-button', array(\n    'size'  =&gt; 'small',\n    'count' =&gt; 'false',\n    ) );\n\n\n\n\/**\n * Medium button with count.\n *\/\ndo_action( 'mfields-plus-one-button', array(\n    'size'  =&gt; 'medium',\n    'count' =&gt; 'true',\n    ) );\n\n\n\n\/**\n * Medium button without count.\n *\/\ndo_action( 'mfields-plus-one-button', array(\n    'size'  =&gt; 'medium',\n    'count' =&gt; 'false',\n    ) );\n\n\n\n\/**\n * Tall button.\n * Count is always displayed with this size.\n * Passing the 'count' argument will have no effect.\n *\/\ndo_action( 'mfields-plus-one-button', array(\n    'size'  =&gt; 'tall',\n    ) );\n\n\n\n\/**\n * Medium button.\n * Count will be shown.\n * Custom url is provided.\n * This example shows the best way to use this action\n * outside of The Loop.\n *\/\ndo_action( 'mfields-plus-one-button', array(\n    'size'  =&gt; 'medium',\n    'count' =&gt; 'true',\n    'url'   =&gt; 'http:\/\/mfields.org\/',\n    ) );\n\n\n\n\/**\n * Medium button.\n * Count will be shown.\n * Custom url is provided.\n * Markup is set to \"html\".\n *\/\ndo_action( 'mfields-plus-one-button', array(\n    'size'   =&gt; 'medium',\n    'count'  =&gt; 'true',\n    'url'    =&gt; 'http:\/\/mfields.org\/',\n    'markup' =&gt; 'html',\n    ) );\n<\/code><\/pre>\n\n<h4>Support<\/h4>\n\n<p>If you have questions about integrating this plugin into your site, please <a href=\"http:\/\/wordpress.org\/tags\/plus-one-button?forum_id=10#postform\">add a new thread to the WordPress Support Forum<\/a>. I try to answer these, but I may not always be able to. In the event that I cannot there may be someone else who can help.<\/p>\n\n<h4>Bugs, Suggestions<\/h4>\n\n<p>Development of this plugin is hosted in a public repository on <a href=\"https:\/\/github.com\/mfields\/mfields-plus-one\">Github<\/a>. If you find a bug in this plugin or have a suggestion to make it better, please <a href=\"https:\/\/github.com\/mfields\/mfields-plus-one\/issues\/new\">create a new issue<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download<\/li>\n<li>Unzip the package and upload to your \/wp-content\/plugins\/ directory.<\/li>\n<li>Log into WordPress and navigate to the \"Plugins\" panel.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Click the \"Plus One\" link under the Settings section in the admin menu. There you be able to configure all available options.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>Fix double button bug.<\/li>\n<li>Add global option for button alignment.<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>HTML attribute fix for \"size\" - dropping \"data-\" prefix.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Original Release -&gt; works with WordPress 3.1.<\/li>\n<\/ul>","raw_excerpt":"Allows fast and easy integration of the Google +1 button.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/13514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=13514"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mfields"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=13514"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=13514"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=13514"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=13514"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=13514"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=13514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}