Using shortcode in header action button

edited June 2020 in Theme support
Hi guys, I'd like to use a shortcode to purchase a service on the action button in the header. I want the button to redirect people to PayPal to purchase a service. I'm using the plugin wp-paypal.

I'm using [wp_paypal button="buynow" name="My product" amount="1.00"]

Unfortunately it looks like the link can only be a url. Is there anyway to change this or is there a workaround to enter the shortcode in the header then style it using css?

Any help would be great and awesome theme!

Comments

Sign In or Register to comment.