<?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>Shaun Ambrose &#187; Wordpress</title>
	<atom:link href="http://www.shaunambrose.com/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.shaunambrose.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 05 Aug 2010 20:11:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to add line breaks in a WordPress post</title>
		<link>http://www.shaunambrose.com/how-to-add-line-breaks-in-a-wordpress-post</link>
		<comments>http://www.shaunambrose.com/how-to-add-line-breaks-in-a-wordpress-post#comments</comments>
		<pubDate>Sat, 16 Jan 2010 21:38:24 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=238</guid>
		<description><![CDATA[Do you find it annoying that WordPress removes all of the &#60;br /&#62; tags from your post? Me too, so I did some research on how to fix this. I found a lot of wonky solutions, but I did find two worth mentioning. First, you can install the TinyMCE Advanced plugin for WordPress. After this [...]]]></description>
			<content:encoded><![CDATA[<p>Do you find it annoying that WordPress removes all of the &lt;br /&gt; tags from your post? Me too, so I did some research on how to fix this. I found a lot of wonky solutions, but I did find two worth mentioning.</p>
<p><span id="more-238"></span></p>
<p>First, you can install the <a href="http://wordpress.org/extend/plugins/tinymce-advanced/">TinyMCE Advanced</a> plugin for WordPress. After this is installed, go into the TinyMCE Advanced settings and enable the option &#8211; &#8220;Stop removing the &lt;p&gt; and &lt;br /&gt; tags when saving and show them in the HTML editor&#8221;. And then you can add all the &lt;br /&gt; tags you want.</p>
<p>The second solution, which I like better is to use &lt;br clear=&#8221;none&#8221; /&gt; in your posts. This will work without any plugins. Now, a couple of things worth mentioning. If you put this tag on it&#8217;s own line in your post, WordPress will put &lt;br clear=&#8221;none&#8221; /&gt; and &lt;br  /&gt; inside of a &lt;p&gt;, thus making it two line breaks. But if you use it on the same line as another sentence, it will only add one line break. Either way, you can control the formatting of the line breaks with CSS using something like this&#8230;</p>
<pre>
<code>
br[clear="none"] {
  margin: 5px 0;
}

.entry br {
  margin: 2px 0;
}
</code>
</pre>
<p>I hope this was helpful. Also, if you want to learn how to stop WordPress from automatically adding &lt;p&gt; and &lt;br /&gt; to your post, read my other post: <a href="http://www.shaunambrose.com/how-to-control-wordpress-html-formatting">How to control WordPress HTML formatting</a>.</p>
 <img src="http://www.shaunambrose.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=238" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/how-to-add-line-breaks-in-a-wordpress-post/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to control WordPress HTML formatting</title>
		<link>http://www.shaunambrose.com/how-to-control-wordpress-html-formatting</link>
		<comments>http://www.shaunambrose.com/how-to-control-wordpress-html-formatting#comments</comments>
		<pubDate>Tue, 08 Jul 2008 05:30:51 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=11</guid>
		<description><![CDATA[Want to get rid of those annoying &#60;p&#62; and &#60;br&#62; tags that WordPress automaticallly adds to your posts? Just the other day, I uploaded some panoramas to my site. I made each panorama a page in WordPress with a custom theme. The problem was that WordPress was adding all these extra &#60;p&#62; and &#60;br&#62; tags [...]]]></description>
			<content:encoded><![CDATA[<p>Want to get rid of those annoying &lt;p&gt; and &lt;br&gt; tags that WordPress automaticallly adds to your posts?<span id="more-11"></span></p>
<p>Just the other day, I uploaded some <a href="http://www.shaunambrose.com/panoramas-from-hydra">panoramas</a> to my site. I made each panorama a page in WordPress with a custom theme. The problem was that WordPress was adding all these extra &lt;p&gt; and &lt;br&gt; tags to my HTML, which was throwing off my CSS.</p>
<p>To control WordPress HTML/text formatting, I found this plugin, called Text Control, which you can download <a href="http://wordpress.org/extend/plugins/text-control/">here</a>. This plugins will let you control the formatting and encoding for individual posts and comments. But I needed control over  individual <em>pages</em> in WordPress, so I found this version of Text Control by _ck_, that will do exactly that. You can download it <a href="http://ckon.wordpress.com/2006/08/14/updated-version-of-text-control-that-works-with-wp-21/">here</a>.</p>
<p>After you have one of these plugins installed you will have total control of how WordPress formats your posts, pages and comments. You can control these settings globally by going to the Admin, then going to Settings&gt;Text Control. You can also control these settings for each individual posts and pages as seen below.</p>
<p><img class="aligncenter size-full wp-image-13" title="Text Control" src="http://www.shaunambrose.com/wp-content/uploads/2008/07/screenshot-text-control.png" alt="" width="420" height="178" /></p>
<p>You can read <a href="http://codex.wordpress.org/How_WordPress_Processes_Post_Content">this</a> article if you want to learn more about how WordPress formats your content and how wpautop() and wptexturize()  works.</p>
 <img src="http://www.shaunambrose.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=11" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/how-to-control-wordpress-html-formatting/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
