Add shortcodes to handle Paypal donation links.
This code will make it simpler to accept paypal donations.
To use it, simply place the above snippet in your
functions.php file and use any of the shortcodes below.
[donate] [donate]Donate Now[/donate] [donate account="email@example.com" onHover="Thanks" for="Title"] [donate account="firstname.lastname@example.org" onHover="Thanks" for="Title"]Donate Now[/donate]
This code comes with three different attributes: $account, $onHover and $for. The $account receives your paypal email address(default is your admin email address), the $onHover variable sets the anchor title attribute as you hover over the link and the $for attribute is the title of the Donation(default is your post title).