Git Product home page Git Product logo

faircoinwidget-shortcode's Introduction

=== Coinwidget Shortcode ===
Contributors: yuri
Donate link: http://notions.okuda.ca
Tags: coinwidget, faircoin
Requires at least: 3.0
Tested up to: 3.7.1
Stable tag: trunk
License: GPLv2 or later

Defines a shortcode for embeddeding the standard coinwidget button on your Wordpress blog.

== Description ==

This plugin adds the shortcode [coinwidget] to embed a coinwidget.com bitcoin donation button.
See http://coinwidget.com.

To get public information about your Bitcoin address it makes queries to http://blockchain.info/address/<your public bitcoin address>.
To get public information about your Litecoin address it makes queries to http://explorer.litecoin.net/address/<your public litecoin address>.

== Usage ==

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.

Supported attributes as documented here http://coinwidget.com/

* address - default ""
* currency - default "faircoin"
* counter - default "count"
* alignment - default "bl"
* qrcode - default "true" 
* auto_show - default "false"
* decimals - default "4"
* lbl_button - default "Donate"
* lbl_address - default "My Faircoin Address:"
* lbl_count - default "donations"
* lbl_amount - default "FAIR"

Example:

`[coinwidget
	address="fTSjheCjvTCHWkTqggn2bwyk13Cp32mvt2" currency="faircoin"
	counter="count" alignment="al" qrcode="false" auto_show="true"
	lbl_button="Press Me" lbl_address="Me Place" lbl_count="Gimme"
	lbl_amount="$$$"]`

== Installation ==

1. Download the plugin via WordPress.org
1. Includes the current master branch of coinwidget.com in the "coinwidget.com" folder from here (https://github.com/yyuri/FairCoinWidget/).  You should be able to upgrade to newer versions by replace the contents of that folder.
1. Include the shortcode anywhere in your posts or pages or template.  With the appropriate plugins you can also include shortcodes in sidebar widgets.

== Frequently Asked Questions ==

= I've installed the plugin - now what? =

Anywhere in a post or template (or sidebar widget if you have the appropriate plugins installed) you can include the text [coinwidget address="<your faircoin address>"] and it will be replaced with a button as seen on http://coinwidget.com/.

== Screenshots ==

1. The coinwidget button that how it will appear on the page
2. The expanded popup when the user clicks on the button.

== Changelog ==

= 1.1 =
* 2014-01-16
* Fix for coinwidget.com issue #4 - scottycc/coinwidget.com#4
*  Replaced document.lastChild.firstChild.appendChild(x) with this document.body.appendChild(x)

= 1.0 =
* 2013-12-09
* Initial release

== Upgrade Notice ==

= 1.1 =
* 2014-01-16
* Fix for coinwidget.com issue #4 - scottycc/coinwidget.com#4

faircoinwidget-shortcode's People

Contributors

yyuri avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.