Home » Web Design

Embed YouTube Videos into Wordpress MU

5 November 2008 201 views No Comment

I am in love with Wordpress MU, as most of you know out there. Love it, love it, love it. I get giddy just thinking about it.

That said, there are a lot of limitations. For starters, you have to modify themes you upload on your computer then upload the modified version to be used on your site – and since your MU site will host endless blogs over it, you can really only use one theme for all your sites. If you wanted to make any changes to an individual theme, you would have to customize it then upload it for that particular blog. But, I am sure there is a way around all of that but I digress.

For now, I want to show you what I found as to how to embed videos to your posts on your blogs in Wordpress MU. You have to just download a file and manipulate a little code.

Using your favorite editing software, download the file kses.php from your MU install (wp-includes/kses.php). Search for the code that looks like:

add_filter('content_save_pre', 'wp_filter_post_kses');

And simply comment it out like this:

add_filter('content_save_pre', 'wp_filter_post_kses');

Upload the modified kses.php file and voila! You are ready to embed video to your MU blog posts!

Sphere: Related Content

  • Share/Bookmark
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.