WordPress.org

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Razoo Donation Widget

Simple shortcode wrapper to embed a customized Razoo donation widget. See http://www.razoo.com/p/donationWidget for more detail.

Shortcode usage?

Long version, with attributes + content:

[razoo_widget
    id="Mynonprofit"
    title="My Non Profit"
    short_description="Please let us know how much you want to donate:"
    color="#f1a632"
    donation_options="5=Friend|25=Benefactor|100=Benefactor|500=Sponsor"
    ]
{ long_description }
[/razoo_widget]

where

  • id: (required) the donation account id
  • title: shown on widget first tab
  • short_description: shown on tab with donation amounts
  • color: the border/theme
  • donation_options: a url-formatted string, or more safely a pipe (|) separated list of values and labels
  • long_description: a bigger description, either given as an attribute or as the shortcode content. If given as an attribute, you don't need the closing [/razoo_widget]

How to put shortcode in widget?

Use a filter to apply shortcode processing to widgets.

Filter: <?php add_filter('widget_text', 'do_shortcode'); ?>

Requires: 2.8 or higher
Compatible up to: 3.2.1
Last Updated: 2011-12-12
Active Installs: 50+

Ratings

0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.