PayPal Donations
[resolved] getting rid of extra image next to button (2 posts)

  1. jssayers
    Posted 4 years ago #

    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.


  2. Johan Steen
    Plugin Contributor

    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PayPal Donations
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic