Skip to main content
November 20, 2018
Question

Markto Form Not Showing Up on WordPress Blog Post

Hello - I'm trying to add a form to wordpress blog post on our new whitepaper. I'm using the form embed code from marketo but its just showing up as the code once I try to preview it in wordpress. How can I fix this?

Sanford Whiteman​

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
November 20, 2018

It you're seeing the HTML as text, that suggests you've pasted the embed code into a Rich Text editor which (like Marketo's as well) will deliberately escape all the HTML tags.

(Remember, there has to be a way to simply show, instead of execute, HTML + CSS + JS in a page, so even outside of security concerns it wouldn't make sense to always treat something that happens to have <tags> in it as HTML instead of as displayable text.)

Typically there would be part of the page/template reserved for the embed code by the WP admin. Within this part, all pasted input is treated as raw HTML and not escaped.

Translate