

<?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>Get into the culture! &#187; Filters</title>
	<atom:link href="http://wpvibe.com/tag/filters/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpvibe.com</link>
	<description>Just another EMV Network Site site</description>
	<lastBuildDate>Sun, 26 Feb 2012 22:21:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Remove WordPress AutoP Filter</title>
		<link>http://wpvibe.com/remove-wordpress-autop-filter-21/</link>
		<comments>http://wpvibe.com/remove-wordpress-autop-filter-21/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 16:03:19 +0000</pubDate>
		<dc:creator>Jonathan Dingman</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Filters]]></category>
		<category><![CDATA[Formatting]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://wpvibe.com/?p=21</guid>
		<description><![CDATA[WordPress will automatically insert &#60;p&#62; and &#60;/p&#62; tags for you to separate content breaks within a post or page. If, for some reason, you want or need to remove these, you can use either of the follow code bits. Use this code just for your theme [sourcecode] remove_filter(&#8216;the_content&#8217;, &#8216;wpautop&#8217;); [/sourcecode] Use this code as a ...]]></description>
			<content:encoded><![CDATA[<p>WordPress will automatically insert &lt;p&gt; and &lt;/p&gt; tags for you to separate content breaks within a post or page.  If, for some reason, you want or need to remove these, you can use either of the follow code bits.<span id="more-21"></span></p>
<div class="clear"></div>
<h3>Use this code just for your theme</h3>
<p>[sourcecode]<br />
remove_filter(&#8216;the_content&#8217;, &#8216;wpautop&#8217;);<br />
[/sourcecode]</p>
<h3>Use this code as a plugin</h3>
<p>[sourcecode lang="php"]<br />
&lt;?php<br />
/* Plugin Name<br />
 * Plugin URI: http://wpvibe.com<br />
 * Author: Jonathan Dingman<br />
 * Author URI: http://jonathan.vc<br />
 * Version: 1.0<br />
 * Description: Disables the &lt;p&gt; that is automatically inserted by WordPress<br />
 */</p>
<p>remove_filter(&#8216;the_content&#8217;, &#8216;wpautop&#8217;);</p>
<p>?&gt;<br />
[/sourcecode]</p>
<p>If you want to use the one line of code in your functions.php, it will work only for that theme.  So, if you change themes, you will need to make sure to bring that code with you if you still need it.  If you want to always have the filter removed, use the plugin and it will always work as long as the plugin is activated.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpvibe.com/remove-wordpress-autop-filter-21/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

