<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Shea Allen &#187; code</title>
	<atom:link href="http://sheaallen.com/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://sheaallen.com</link>
	<description>When Life Gives You Lemons, You Paint That Sh-t Gold!</description>
	<lastBuildDate>Mon, 30 May 2011 23:38:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Allow all HTML in wpmu Posts</title>
		<link>http://sheaallen.com/2008/09/allow-all-html-in-wpmu-posts/</link>
		<comments>http://sheaallen.com/2008/09/allow-all-html-in-wpmu-posts/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 18:46:11 +0000</pubDate>
		<dc:creator>Shea</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://sheaallen.com/?p=138</guid>
		<description><![CDATA[A solution has been found to stop WPMU from stripping the html tags from your posts! it's a quick easy fix even the shorthand coders can edit. This way you can embed flash video files from all your favorite sites without the use of a third party plugin or editing of the single.php pages. However, even if you DON'T want to edit your wpmu installation, I've also linked to a wpmu plugin that will allow you to easily add flash video files from your favorite websites without using html.]]></description>
			<content:encoded><![CDATA[<p>A simple fix to enable your wpmu to stop stripping html tags has been found! In your wp-includes folder is a file called kses.php. In the default wpmu installation about line 1015 reads the following:</p>
<blockquote><p>function kses_init_filters() {<br />
// Normal filtering.<br />
add_filter(&#8216;pre_comment_content&#8217;, &#8216;wp_filter_kses&#8217;);<br />
add_filter(&#8216;title_save_pre&#8217;, &#8216;wp_filter_kses&#8217;);</p>
<p>// Post filtering<br />
add_filter(&#8216;content_save_pre&#8217;, &#8216;wp_filter_post_kses&#8217;);<br />
add_filter(&#8216;excerpt_save_pre&#8217;, &#8216;wp_filter_post_kses&#8217;);<br />
add_filter(&#8216;content_filtered_save_pre&#8217;, &#8216;wp_filter_post_kses&#8217;);<br />
}</p></blockquote>
<p>All we have to do hear is comment out all the lines under post filtering of this function.</p>
<blockquote><p>function kses_init_filters() {<br />
// Normal filtering.<br />
add_filter(’pre_comment_content’, ‘wp_filter_kses’);<br />
add_filter(’title_save_pre’, ‘wp_filter_kses’);</p>
<p>// Post filtering<br />
//	add_filter(’content_save_pre’, ‘wp_filter_post_kses’);<br />
//	add_filter(’excerpt_save_pre’, ‘wp_filter_post_kses’);<br />
//	add_filter(’content_filtered_save_pre’, ‘wp_filter_post_kses’);<br />
}</p></blockquote>
<p>This allows you to stop filtering the tags in a post, but the tags in a comment are still filtered.</p>
<p>Readlink: <a href="http://dev.robertmao.com/2007/07/18/get-rid-of-boring-wpmus-post-htmljavascript-filtering/">http://dev.robertmao.com/2007/07/18/get-rid-of-boring-wpmus-post-htmljavascript-filtering/</a></p>
<p style="text-align: center;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p style="text-align: left;">AND THEN! I used this plugin called WordPress Video Plugin. <a href="http://www.daburna.de/blog/2006/12/13/wordpress-video-plugin/">Details / Download here</a>. Super easy install, super easy to use. If you want a youtube video, in your post you just add the text [youtube VIDEOID]. Works for about 100 or so different video sites. They have an instruction guide that comes with it listing all the sites. Adding additional websites to the code is pretty simple if you know what you&#8217;re doing in the code. As of today, I get to disabled this plugin! Good luck!</p>
<div class="shr-publisher-138"></div><h3  class="related_post_title">Check Out These Related Posts!</h3><ul class="related_post"><li><a href="http://sheaallen.com/2008/08/making-timthumbphp-work-with-wpmu/" title="Making TimThumb.php work with WPMU">Making TimThumb.php work with WPMU</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://sheaallen.com/2008/09/allow-all-html-in-wpmu-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

