Need help adding a shortcode (button) to the header
-
Hello!
Love the theme, but there are some things we are having trouble with.
We are using a small plugin that lets the customer change product view to with and without taxes. This is because we both have companies buying from us, and private people.
Right now the toggle tax is floating on the screen, and is extremely annoying on mobile version. therefore we want to add it as a button to our header. This can be done using a shortcode. Here’s the link to the plugin:
https://codecanyon.net/item/woocommerce-tax-toggle/7796887
“Using the Shortcode
You can use the shortcode [wootax] to insert the Toggle button anywhere you want in your theme”
We are trying to add this shortcode button to our headers, but we cant seem to do it.
Some help on this matter would be greatly appreciated. thanks!
Hello,
You can define the shortcode in the HTML Block (Dashboard -> HTML Blocks) and then insert it in the Header builder (WoodMart -> Header builder) by using an appropriate element.
https://prnt.sc/A4WUY0dCdml9
Thanks for your time and have a great day.
Kind Regards
You are welcome!
If there’s anything you need, please write me or another member of our help desk team.
We’re here for you!
Kind Regards
The topic ‘Need help adding a shortcode (button) to the header’ is closed to new replies.