Absolutely, Scott! The standard Forms 2.0 embed code works fine. You'll want to use a generic JS tag plugin with WP, I've recommended one here before if you search...
It is easy. Here you'll find a step by step guide on how to do it on regular web pages https://docs.marketo.com/display/public/DOCS/Embed+a+Form+on+Your+Website
However with Wordpress it is preferable you first place your form into a blank landing page and then embed the landing page itself into wordpress through a simple embed code such as <iframe src="http://w3.yourdomain.com/your-form-landing.html" width="450" height="640" frameborder="”0”"></iframe>.
That way you'll get a bit better performance.
All the best,
A little more complicated than copy-and-paste, b/c in the WP CMS environment people try to stay away from statically putting HTML + JS in page templates.
Instead, there would usually be a level of management/abstraction: either a custom page type w/variables for the Marketo Form ID or at least a plugin that more delicately manages the tags.
True Sanford, just wanted to offer an easy way out. The iframe option I suggested works, but as Sanford points out, you might want to dive a little bit deeper into it.
I don't know why you'd say the IFRAME is the preferred, let alone higher-performance, option. Aside from the slower performance of IFRAMEs, you have SSL concerns (you must run SSL on your Landing Pages if your main site runs SSL), double Munchkin hits (unless this is correctly managed), and lost UTM information (again, unless specifically worked around).
Peace Sanford, I never said it's the preferred. I said mine is an easy way out, and as you point out, it is not the best in many scenarios. Again there are sounder ways of addressing it but just wanted to offer a quick solution.
I never said it's the preferred
Ya did, though.
However with Wordpress it is preferable
Consider the extended game of telephone that goes on with Marketo forms... people still think embedded forms can't do Progressive Profiling because someone once put that in a blog post, and they similarly think embedded forms can't track the current URL, even though neither are true.
Hi all. Does anyone have experience embedding Marketo forms on the Kentico CMS? We are able to get the Lightbox code to appear correctly; however, we would like to embed the form on a web page.
Yes, forms embed fine in Kentico. Better to open a new Products thread, though, to make sure responses concentrate on your specific question.
I don't understand what you mean by "Lightbox" in this context as different from the Marketo form embed code + lightbox.