Create a PayPal Donation Short Code Without Using Any Plugin

Prem Tiwari - - WordPress, WordPress Snippets

Sometime you need to add the PayPal donation button in your WordPress website to allow your website visitors to donate some amount to you by using the PayPal Payment gateway.

In this tutorial, I will share some piece of code which will allow you to create a shortcode for PayPal donation button in your WordPress sites.

PayPal donate button

Then, you use this [donate]My Text Here[/donate] shortcode in your posts or pages. You can also use it in your template file by using below code:

About: Prem Tiwari

Prem Tiwari is the founder of and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.

Tags: , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.