PayPal Donations WordPress Widget
I just released a new version of PayPal Donations, version 1.2.
New in this version is the inclusion of a sidebar Widget for the PayPal button. I’m using the new WordPress 2.8 API for the Widget, so it’s only available if you run the plugin on WordPress 2.8 or newer.
In the widget admin you can specify a descriptive text as well as overrides for Purpose and Reference if you wish.
Enjoy and cheers!







PamJuly 3, 2009
Hi, I like you plugin and I am attempting to put a custom header img in the php. I’m not great with PHP to begin with, and I’m having trouble getting an image to show…any ideas?
// Get the settings
$title = ” ;
should it not go there?
( )JohanJuly 5, 2009
Hi,
If you want to edit the plugin php file to use an image for the title, locate the
It’s towards the end of the plugin file, around line 310. Within that function you’ll find two lines (around line 321, 322) which looks like this:
Delete both those lines and replace it with this single line:
and that should be it and the title is replaced with an image of your choice instead.
Another solution, if you don’t want to mess with the PHP code, is to just leave the title field empty in the widget settings in the dashboard. If the title field is empty, the plugin skips displaying that section on the website, and then in the widgets textfield in the dashboard you just start the textfield by writing
As the textfield in the plugin widget allows HTML it’s an easier solution, and also when you don’t edit the plugin’s PHP it will continue to work if you update the plugin in the future.
Hope this helps.
( )Cheers!
sergiFebruary 23, 2010
for some reason the paypal button doesn’t show up in the widget when viewing the site in safari. i had to use a “custom button” instead. have you experienced this?
i had this same problem when i wasn’t using your plugin, or wordpress for that matter. it turned out that there was a conflict between my google analytics code and my and the code generated by paypayl’s “button generator”. (and again, the problem was only in safari.)
( )