logo

$5
I want to add a custom Paypal button to my blog pages and posts.

I want to add a custom Paypal button to my blog pages and posts that says "Contribute to Support My Work". That takes 3 things, code from paypal, modification of their image/button, and insertion into each of my posts/pages.

I would like a custom button the shape of the US map with some red, white, and blue waves in it. Pay Pal has the nice button that also has images of the various cards that can be processed during the contribution. I would like those images in mine also.

I do not want to use the word donate because this is not a non-profit and I do not want to mislead people.

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="Z8DA36GP7SEQA">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

Anthony Galvez | 03/10/10 at 3:57pm | Edit


(2) Possible Answers Submitted...

  • avatar
    Last edited:
    03/15/10
    8:23pm
    Nathan Parikh says:

    For a custom image, all you have to do is make a change in this line:

    <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">

    Change
    https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif
    to the URL of your custom image

    To insert into every post/page, copy the button code and paste it wherever you want into the single.php and page.php files of your theme.

  • avatar
    Last edited:
    03/11/10
    2:56am
    Dan Fraticiu says:

    Have a look at this plugin: <a href="http://wordpress.org/extend/plugins/wordpress-paypal-donation/">WordPress PayPal Donation</a>

    You can manualy insert in into every post, via the [donate] shortcode or you can put something like this in your single.php and/or page.php


    do_shortcode('[donate]');

This question has expired.





Current status of this question: Completed