Hi.
I'm trying to add some code using the 'code' block but all I'm getting is the actual code appearing in the post.
It's from Leadpages and is supposed to insert a button which when clicked produces a pop-up box.
Here's the code:
<script src="//static.leadpages.net/leadboxes/current/embed.js" async defer></script> <button data-leadbox-popup="143368d73f72a2:17a8162deb46dc" style="background: #32C88C;border-color: #32C88C;border-radius: 20px;color: #FFFFFF;display: inline-block;vertical-align: middle;padding: 16px 32px;min-width: 192px;border: 1px solid #32C88C;font-size: 1rem;font-family: Helvetica, Arial, sans-serif;text-align: center;outline: 0;line-height: 1;cursor: pointer;-webkit-transition: background 0.3s, color 0.3s, border 0.3s;transition: background 0.3s, color 0.3s, border 0.3s; box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.6);">Download this post as a PDF now--></button>
Any ideas why it won't work?
Many thanks.
Geoff
I'm trying to add some code using the 'code' block but all I'm getting is the actual code appearing in the post.
It's from Leadpages and is supposed to insert a button which when clicked produces a pop-up box.
Here's the code:
<script src="//static.leadpages.net/leadboxes/current/embed.js" async defer></script> <button data-leadbox-popup="143368d73f72a2:17a8162deb46dc" style="background: #32C88C;border-color: #32C88C;border-radius: 20px;color: #FFFFFF;display: inline-block;vertical-align: middle;padding: 16px 32px;min-width: 192px;border: 1px solid #32C88C;font-size: 1rem;font-family: Helvetica, Arial, sans-serif;text-align: center;outline: 0;line-height: 1;cursor: pointer;-webkit-transition: background 0.3s, color 0.3s, border 0.3s;transition: background 0.3s, color 0.3s, border 0.3s; box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.6);">Download this post as a PDF now--></button>
Any ideas why it won't work?
Many thanks.
Geoff