Title: Custom button text
Last modified: June 5, 2018

---

# Custom button text

 *  Resolved [remorknevets](https://wordpress.org/support/users/remorknevets/)
 * (@remorknevets)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/custom-button-text-2/)
 * How do I use this plugin’s shortcode to create a button with custom text?
 * For example, something like: [wpedon id=986 text=”DONATE NOW TO SUPPORT THIS 
   CAUSE”]
 * Or, would it be possible to use a custom image for each individual button?
 * For example, something like: [wpedon id=986 image=”[http://www.mysite/images/1.png”%5D](http://www.mysite/images/1.png”%5D)
    -  This topic was modified 8 years, 1 month ago by [remorknevets](https://wordpress.org/support/users/remorknevets/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Scott Paterson](https://wordpress.org/support/users/scottpaterson/)
 * (@scottpaterson)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/custom-button-text-2/#post-10366621)
 * 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.
 *  Thread Starter [remorknevets](https://wordpress.org/support/users/remorknevets/)
 * (@remorknevets)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/custom-button-text-2/#post-10366747)
 * 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.”
 *  Thread Starter [remorknevets](https://wordpress.org/support/users/remorknevets/)
 * (@remorknevets)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/custom-button-text-2/#post-10367011)
 * 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](http://www.mysite.com/images/button1.png”%5D)
 *  [romwrit](https://wordpress.org/support/users/romwrit/)
 * (@romwrit)
 * [8 years ago](https://wordpress.org/support/topic/custom-button-text-2/#post-10473660)
 * 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?
 *  Plugin Author [Scott Paterson](https://wordpress.org/support/users/scottpaterson/)
 * (@scottpaterson)
 * [8 years ago](https://wordpress.org/support/topic/custom-button-text-2/#post-10474414)
 * Hi [@romwrit](https://wordpress.org/support/users/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

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Custom button text’ is closed to new replies.

 * ![](https://ps.w.org/easy-paypal-donation/assets/icon-256x256.png?rev=3095887)
 * [Accept Donations with PayPal & Stripe](https://wordpress.org/plugins/easy-paypal-donation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-paypal-donation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-paypal-donation/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-paypal-donation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-paypal-donation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-paypal-donation/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Scott Paterson](https://wordpress.org/support/users/scottpaterson/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/custom-button-text-2/#post-10474414)
 * Status: resolved