WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: PayPal Donations] getting rid of extra image next to button

[Resolved] [Plugin: PayPal Donations] getting rid of extra image next to button

  • I am using the donate button widget in the sidebar, but next to my button, thee is a small gray box. Inspecting with firebug tells me its this: ‘img alt=”” src=”https://www.paypal.com/en_US/i/scr/pixel.gif” width=”1″ height=”1″’
    Looking through the comments for this plug-in on WPStorm.net, I see that this file can be removed, which is exactly what I’d like to do, but I can’t seem to find where to do it.

    http://wordpress.org/extend/plugins/paypal-donations/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Johan Steen

    @artstorm

    A quick fix is to remove/comment out this line of code from the plugin:

    $paypal_btn .=	'<img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />';

    which should be line 183 on the current version (v1.4.9.6). Perhaps I should add a filter for the entire generated HTML for the donation button so one can make changes like this that survives plugin updates.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: PayPal Donations] getting rid of extra image next to button’ is closed to new replies.