Do you need a SIMPLE plugin for incorporating any HTML code (including Youtube, Metacafe, Ustream.tv html embed code) into your Wordpress posts?
How many times have you been feeling frustrated because the Wordpress built in WYSIWYG editor would destroy your HTML code, no matter what you do?
This light and easy wordpress plugin will solve your problem.
It can be very handy when you need a very easy and quick solution to:
- embed Youtube videos into wordpress
- embed ustream into wordpress
- embed a custom Google Map into wordpress
- embed whatever html code into wordpress
- embed specific Adsense code into wordpress posts deciding WHERE it should go inside an article
This plugin takes advantage of Wordpress custom fields. If you haven’t heard about them, you’ll soon understand what we’re talking about. Just have a look to your wordpress post editing page, under “trackback”.
WHAT IT DOES: WHY DO I NEED IT?
EmbedIt is simple plugin that allows you to embed any html code in a post, deciding precisely where to embed it, allowing you freedom of coding your html without being annoyed by the wysiwyg editor. It will save you a lot of time, a quick solution for many occasions. No messing around, and compatible with any html embeddable service. And of course, you can write your own html code, without having the hassle of dealing with the Wordpress WISYWYG editor.
USAGE: While editing a post, create a custom field with key HTML1 and paste the code you want to embed into the Value field. Then just write [HTML1] in your post where you want to embed the html code. (Just use the standard wysiwyg post content editing window, no need to switch to Code view).
A QUICK EXAMPLE TO GET STARTED ON HOW TO EMBED VIDEOS OR WHATEVER HTML I WANT INTO MY POST
There you go.
Let’s say that you want to embed an youtube video into your post.
- Install and activate the plugin. You may know how to do this. Or if you don’t, have a look here.
- On the Youtube video page, copy the HTML code of the video.
- Now in the Wordpress post editing window, place your cursor where you want your video to appear and just type
[HTML1]
Here is what things should look like. Click images to enlarge

- Create a custom field using key HTML1
and paste the HTML code that you’ve copied from Youtube in the Value field on the right.
Here is what things will look like.
Do not forget to click Add Custom Field.
AND NOW….
Have a look at the post: exactly where you wrote [HTML1] the video appears.
Here is our result! Have a look at this funny video post
CAN I HAVE MORE? SURE!
If you need, you can use up to nine times the trick: just use the “tags” [HTML2] …. to [HTML9]… in order to embed up to nine html different snippets per post, placing each snippet in a different custom field called HTML2 … to HTML9.
You can also “print” the same html snippet more than one time calling the [HTML1] tag more than one time. No problem with it.
This plugin can come real handy when using wordpress as a CMS. Your clients will no longer destroy their embeds when editing pages and posts!
YOU’RE ALMOST THERE, JUST A QUICK NOTE IF YOU’RE ON WP 2.6:
WP 2.6 has a known bug wich adds a slash to all ‘ and ” characters. Until the WP team releases a new fixed version, the only way to get around it is to submit your custom field entry, then update the field once again with the right code.
AND NOW, DOWNLOAD THE PLUGIN.
Did I tell you it’s for free? Yes, it is. In order to get the plugin, insert your email address. You will receive instantly an email with the download link.
I’ll contact you occasionally regarding Wordpress plugins and updates – I won’t use your email for any other purpose or give it to anybody else.

Yes, it should in my preliminary test
You have made my job very simple with this great plugin! Tnx!
You have made my job very simple with this great plugin! Tnx
THANK YOU!!!!
I’m new to Wordpress – only started using it this weekend – a friend made a new version of my site in Wordpress – he’s on holiday this week and I needed to add a couple of pages with code in… Your plug-in was PERFECT!!!
THANKS!!!!
Robert.
great plugin. thanks.
does this also work with pages, or only posts?
Thanks, yael
Wahoo – it works in pages. Thank you !!!
Any chance this could ever work with more than 9 installs?
This is the solution I was looking for — wonderful plugin. Thanks for your hard work!
Hi!
Just downloaded your Plugin “Embed HTML code”. I think it is that what I was looking for.
By the way how did you manage it to let the people enter their E-Mail address in order to get the file. Did you control the downloadable files in WP.
Please tell me.
kind regards and have a nice day
Horst
Hello,
Thanks for sharing this plugin, it does exactly what I needed to – easily add HTML to posts. I eventually ran into the 9 HTML tags max limitation so I tweaked your plugin to break this restriction. I blogged the resulting code: http://www.samanthahalfon.net/worldgoneweb/2009/add-any-html-to-your-wordpress-posts-with-embedit-plugin-tweaked/. Feel free to re-use this code to update your plugin as it might benefit others, too.
Take care,
Sam
This plugin will made my job easier. Any of you guys know how to embed a website in my own wordpress blog? What I want to do is embed one of my affliliate landing page in one of my post, is this possible?
Yes you can…just embed an iframe !
I have trying to do this for a while. Thanks for the plug-in
I am glad I found this. If it does half of what is said about I’ll be REALLY happy. Thx
Thanks Really need it so much, can’t find better than this one.
Okay, I think I’m missing something. Do I need to host my own wordpress blog in order to add plug ins? I can’t find where I can add plug ins.
For Posts AND Pages??
Alan: YES! Do it, it will be a great move
Mugger: YES.
I’m having trouble on posting an simple HTML FORM to my post, on a WPMU 2.8 installation.
Now, I’ll try this plugin…
Thanks for the plugin! Now all my works are done.
Its GREAT!
Thanks!
I’ve just made an wordpress plugin to embed youtube videos and flash in posts and pages.
You can see it working and download at http://www.idealmind.com.br/wordpress/embed-object-wordpress-plugin-youtube-flash/
See you!
this is not working for me. i followed all the steps mentioned by you but it is not working.
It is showing the wordpress converting HTML and showing it as WYSIWYG did.
Please help am using WP 2.8.6
this site here http://azsnagger.com/ never show up in IE why? please guide me please
Nice plugin
will try it
thank you
Twicat.com
We were just swithcing to WP
and looking for similar plugin
thank you
for this tool
FlatFee495.com
Hey this was really useful – do you know if there is some way to automatically generate HTML code and embed it (I have a cartoon website http://www.wonkie.com and would like users to be able to copy a ready made code snippet to include a cartoon on their website (and I need the code to be generate automatically for each new post)
Thanks
Awesome plugin! Saves me hours of backend editing to get some embeds to work. Brilliant!
I am attempted to to open the zip. But it does not open up. DL is fine. To open ok too. But when it does DL doesn’t work.
I am missing a file?