{"id":26789,"date":"2014-01-06T16:40:14","date_gmt":"2014-01-06T16:40:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/coinwidget-shortcode\/"},"modified":"2014-12-23T16:32:28","modified_gmt":"2014-12-23T16:32:28","slug":"coinwidget-shortcode","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/coinwidget-shortcode\/","author":48718,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0","stable_tag":"trunk","tested":"4.0.38","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Coinbase-Shortcode","header_author":"Kaz Okuda","header_description":"","assets_banners_color":"","last_updated":"2014-12-23 16:32:28","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/notions.okuda.ca","header_plugin_uri":"http:\/\/notions.okuda.ca","header_author_uri":"http:\/\/notions.okuda.ca","rating":5,"author_block_rating":0,"active_installs":10,"downloads":4866,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1":"<ul>\n<li>2014-01-16<\/li>\n<li>Fix for coinwidget.com issue #4 - https:\/\/github.com\/scottycc\/coinwidget.com\/issues\/4<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1567139","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1567139","resolution":"1","location":"plugin"}},"screenshots":{"1":"The coinwidget button that how it will appear on the page","2":"The expanded popup when the user clicks on the button."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1886,18741],"plugin_category":[45],"plugin_contributors":[79810],"plugin_business_model":[],"class_list":["post-26789","plugin","type-plugin","status-publish","hentry","plugin_tags-bitcoin","plugin_tags-coinwidget","plugin_category-ecommerce","plugin_contributors-poco","plugin_committers-poco"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/coinwidget-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/coinwidget-shortcode\/trunk\/screenshot-1.png?rev=1567139","caption":"The coinwidget button that how it will appear on the page"},{"src":"https:\/\/ps.w.org\/coinwidget-shortcode\/trunk\/screenshot-2.png?rev=1567139","caption":"The expanded popup when the user clicks on the button."}],"raw_content":"<!--section=description-->\n<p>This plugin adds the shortcode [coinwidget] to embed a coinwidget.com bitcoin donation button.<\/p>\n\n<p>See http:\/\/coinwidget.com.<\/p>\n\n<p>Since the coinwidget.com source has not changed in some time, this plugin is now based on a branch available at https:\/\/github.com\/alvinhkh\/CoinWidget<\/p>\n\n<p>To get public information about your Bitcoin address it makes queries to http:\/\/blockchain.info\/address\/.\nTo get public information about your Litecoin address it makes queries to http:\/\/explorer.litecoin.net\/address\/.\nTo get public information about your Dogecoin address it makes queries to http:\/\/dogechain.info\/address\/.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>Embed the short [coinwidget] anywhere in your posts or template to include a coinbase button that, when clicked, will display a address for users to send Bitcoins.<\/p>\n\n<p>Supported attributes as documented here http:\/\/coinwidget.com\/<\/p>\n\n<ul>\n<li>address - default \"\"<\/li>\n<li>currency - default \"bitcoin\", possible (\"bitcoin\", \"litecoin\", \"dogecoin\")<\/li>\n<li>counter - default \"count\"<\/li>\n<li>alignment - default \"bl\"<\/li>\n<li>qrcode - default \"true\" <\/li>\n<li>auto_show - default \"false\"<\/li>\n<li>decimals - default \"4\"<\/li>\n<li>lbl_button - default \"Donate\"<\/li>\n<li>lbl_address - default \"My Bitcoin Address:\"<\/li>\n<li>lbl_count - default \"donations\"<\/li>\n<li>lbl_amount - default \"BTC\"<\/li>\n<\/ul>\n\n<p>Example:<\/p>\n\n<pre><code>[coinwidget\n    address=\"12uaFq9CyGZBoT6nSbVzZ2AjGnZkfRSHoy\" currency=\"bitcoin\"\n    counter=\"count\" alignment=\"al\" qrcode=\"false\" auto_show=\"true\"\n    lbl_button=\"Press Me\" lbl_address=\"Me Place\" lbl_count=\"Gimme\"\n    lbl_amount=\"$$$\"]\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin via WordPress.org<\/li>\n<li>Includes the current master branch of coinwidget.com from here (https:\/\/github.com\/alvinhkh\/CoinWidget).  You should be able to upgrade to newer versions by replace the contents of that folder.<\/li>\n<li>Include the shortcode anywhere in your posts or pages or template.  With the appropriate plugins you can also include shortcodes in sidebar widgets.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I've installed the plugin - now what?<\/dt>\n<dd><p>Anywhere in a post or template (or sidebar widget if you have the appropriate plugins installed) you can include the text [coinwidget address=\"\"] and it will be replaced with a button as seen on http:\/\/coinwidget.com\/.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0<\/h4>\n\n<ul>\n<li>2014-12-23<\/li>\n<li>Updated to a branch of the plugin from https:\/\/github.com\/alvinhkh\/CoinWidget (commit 4c352afee53879e0e9168bcf3c807cfe16ef9e86).<\/li>\n<li>Fixes bugs and adds support for Dogecoin.<\/li>\n<li>Added span container around shortcode to ensure that it is embedded at the correct location on the page with a unique id for each span.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>2014-01-16<\/li>\n<li>Fix for coinwidget.com issue #4 - https:\/\/github.com\/scottycc\/coinwidget.com\/issues\/4<\/li>\n<li>Replaced document.lastChild.firstChild.appendChild(x) with this document.body.appendChild(x)<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>2013-12-09<\/li>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Defines a shortcode for embeddeding the standard coinwidget button on your Wordpress blog.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/26789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=26789"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/poco"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=26789"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=26789"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=26789"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=26789"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=26789"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=26789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}