Just go to PayPal Donations -> Buttons. Each Button can have it’s own title and image. You get a shortcode like: [wpedon id=1123] that you can place on your site.
Yes, you would need to create an individual custom image with your text on it.
I selected “Custom” from the button size dropdown for this individual button. However, where do I set the url for this button’s custom image? Without knowing how or where to define these parameters, the button simply shows as a broken image url with the text “Make your payments with PayPal. It is free, secure, effective.”
To make this work temporarily, I edited your plugin’s code so that if the custom image option is selected for a button, it uses the image source url defined in the shortcode.
easy-paypal-donation/includes/public_shortcode.php
Line 13-14
‘name’ => ”,
‘image’ => ”
Line 351
if ($value[‘size’] == “8”) { $img = $atts[‘image’]; }
On the source webpage:
[wpedon id=986 image=”http://www.mysite.com/images/button1.png”%5D
I keep loading an image to make a custom button. I placed the shortcode on my page, but I don’t see the image. I’ve done this several times.
Why isn’t the image appearing?
Hi @romwrit,
If you are trying to use the above code, that was custom modified code by that user. Setting the image URL via the shortcode is not currently a feature of the plugin.
Thanks,
Scott