HTML code in Call to Action
I’m having an issue with the custom HTML in the Call to Action. I tried to put a link in (HTML code) which actually is a “Give Now” button (linked to Authorize.net), but it’s not showing up on the website. Ideally, I would like to put the URL in one of the buttons that is available in the Call to Action (Button 1 preferably), but I don’t think it’s possible with Authorize.net since the link to the merchant account is given to me as an HTML code and isn’t just a URL.
It might be a simple fix that I’m missing. Here is the code that was provided to me.
<form name=”PrePage” method = “post” action = “https://Simplecheckout.authorize.net/payment/CatalogPayment.aspx”> <input type = “hidden” name = “LinkId” value =”b8f4fbfb-eb99-4dbb-b9ae-6034a45d7e65″ /> <input type = “submit” value = “Give Now” /> </form>
When I post that in the Call to Action section under text, the Give Now button does not appear on the website. However, when I change from text to visual the button shows up in the editing area, but still not on the website. So I switched back to text for custom HTML, and I went to the website to preview and looked at the page source and the HTML code for authorize is there, so I’m a bit confused as to why it won’t show up. Hope this makes sense. I can give you the credentials for my account if you need them. The website is Newlifefamilyworship.net
Thanks for all your help,
The reason why it doesn’t appear is because there is escaping & sanitization enabled on text fields.
Meaning if you enter HTML code in a text field it will remove all HTML characters.
You will need to edit the call-to-action.php file located in the sections folder.
You will find the following code;
You will need to change it to;
Let me know if that doesn’t work.
No dice, still did not work. As I hover over the button, the url it directs me to is the https://newlifefamilyworship.net/?customize_changeset_uuid=b196dcec-478e-4258-abe0-7de63e0ca55c&customize_theme=parallel-pro, despite the URL section being loaded with something else. I have left it in there if you want to log in on my end and take a peek at it. Let me know if I should send my credentials or if you have other steps for me to try before going that route. Thanks
Ok, in that case send me your Admin Dashboard login credentials so I can have a look myself.
You must be logged in to reply to this topic.