<?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>Rogue Theme for WordPress &#187; style</title>
	<atom:link href="http://www.roguetheme.com/tag/style/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.roguetheme.com</link>
	<description></description>
	<lastBuildDate>Thu, 11 Mar 2010 07:03:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Bonus Formatting Sample Post</title>
		<link>http://www.roguetheme.com/2009/05/11/the-bonus-formatting-sample-post/</link>
		<comments>http://www.roguetheme.com/2009/05/11/the-bonus-formatting-sample-post/#comments</comments>
		<pubDate>Mon, 11 May 2009 18:59:37 +0000</pubDate>
		<dc:creator>Thord Daniel Hedengren</dc:creator>
				<category><![CDATA[Rogue Theme Manual]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://roguetheme.com/?p=27</guid>
		<description><![CDATA[The Rogue Theme naturally supports all the traditional formatting stuff you can do from within WordPress, just check out our Great Sample Post for a live demo of these things. However, that&#8217;s not all you can do when it comes to formatting! In fact, if you&#8217;re not averted to resorting to a tiny little bit [...]]]></description>
			<content:encoded><![CDATA[<p>The Rogue Theme naturally supports all the traditional formatting stuff you can do from within WordPress, <a href="http://roguetheme.com/2009/05/07/the-great-sample-post/">just check out our Great Sample Post</a> for a live demo of these things. However, that&#8217;s not all you can do when it comes to formatting! In fact, if you&#8217;re not averted to resorting to a <em>tiny</em> little bit of HTML code, you can make things pop even more within your blog posts.</p>
<p>And naturally, this post will show off all of these bonus formatting options! <span id="more-27"></span></p>
<p><img src="http://roguetheme.com/wp-content/uploads/2009/05/htmltab.gif" alt="The HTML tab" title="The HTML tab" width="200" height="153" class="alignright size-full wp-image-31 frame" />First of all, let&#8217;s get something straight about HTML code. You really should be editing it from within the HTML tab in the editor, otherwise you might end up getting your HTML code converted to non-code characters, and while that is all well and good most of the time, it just won&#8217;t do here. So by all means write your post in the Visual tab, but when it comes to the bonus stuff, switch to the HTML tab, as the image on the right hand side so subtly points out.</p>
<p>Which brings us to the first bonus formatting functionality! You might notice the border around the image. That is added by adding the class <code>frame</code> to the image code. This is how it looks:</p>
<pre class="brush: xml;">&lt;img src=&quot;http://roguetheme.com/wp-content/uploads/2009/05/htmltab.gif&quot; alt=&quot;The HTML tab&quot; title=&quot;The HTML tab&quot; width=&quot;200&quot; height=&quot;153&quot; class=&quot;alignright size-full wp-image-31 frame&quot; /&gt;</pre>
<p>Notice frame at the end of the segment starting with <code>class</code> &#8211; those are all the classes that are applied to the image. And sure enough, the last one is called <em>frame</em>, and that one adds a nice looking border to the image. But you have to add it manually.</p>
<p>Moving on, let&#8217;s <span class="alert">show something important</span> that traditional italics or bold won&#8217;t convey. That red type is made by using a simple <code>span</code> tag with <code>class="alert"</code>. This is how you use it:</p>
<pre class="brush: xml;">&lt;span class=&quot;alert&quot;&gt;show something important&lt;/span&gt;</pre>
<p>Not very hard, is it? You know, you can use it for a little more subtle stuff as well, like <span>this word and the ones next to it,</span> which is also a <code>span</code> but without any class at all.</p>
<pre class="brush: xml;">&lt;span&gt;this word and the ones next to it,&lt;/span&gt;</pre>
<p>Now let&#8217;s take a break and learn something new:</p>
<div class="box">Lorem ipsum dolor sit amet, dui a, luctus id accumsan, dolor sit orci et non repudiandae pellentesque. Mattis nunc scelerisque praesent sapien, tincidunt wisi sit elementum enim massa quam, tellus non sit tristique, nulla mauris sed hendrerit quam ligula quisque. Diam neque, urna dictum dolor, tempus lorem accumsan amet blandit laoreet, at ornare.</div>
<p>That&#8217;s a box, which is to say that it is content that sits within a <code>div</code> with <code>class="box"</code>. It looks like this:</p>
<pre class="brush: xml;">&lt;div class=&quot;box&quot;&gt;Lorem ipsum dolor sit amet, dui a, luctus id accumsan, dolor sit orci et non repudiandae pellentesque. Mattis nunc scelerisque praesent sapien, tincidunt wisi sit elementum enim massa quam, tellus non sit tristique, nulla mauris sed hendrerit quam ligula quisque. Diam neque, urna dictum dolor, tempus lorem accumsan amet blandit laoreet, at ornare.&lt;/div&gt;</pre>
<p>You know, you can make it even more fancy by adding a <code>h5</code> tag to it, like so:</p>
<div class="box">
<h5>Look at this H5 header</h5>
<p>Lorem ipsum dolor sit amet, dui a, luctus id accumsan, dolor sit orci et non repudiandae pellentesque. Mattis nunc scelerisque praesent sapien, tincidunt wisi sit elementum enim massa quam, tellus non sit tristique, nulla mauris sed hendrerit quam ligula quisque. Diam neque, urna dictum dolor, tempus lorem accumsan amet blandit laoreet, at ornare.</p></div>
<p>That is the same code, but with a <code>h5</code> heading in it. For clarity&#8217;s sake, I&#8217;ll just paste that code too, although you can probably figure out what goes where by now:</p>
<pre class="brush: xml;">&lt;div class=&quot;box&quot;&gt;&lt;h5&gt;Look at this H5 header&lt;/h5&gt;Lorem ipsum dolor sit amet, dui a, luctus id accumsan, dolor sit orci et non repudiandae pellentesque. Mattis nunc scelerisque praesent sapien, tincidunt wisi sit elementum enim massa quam, tellus non sit tristique, nulla mauris sed hendrerit quam ligula quisque. Diam neque, urna dictum dolor, tempus lorem accumsan amet blandit laoreet, at ornare.&lt;/div&gt;</pre>
<p>So there you have it, the basic bonus formatting in Rogue Theme. Missing something? Give a shout in the comments and we might just add it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.roguetheme.com/2009/05/11/the-bonus-formatting-sample-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Great Sample Post</title>
		<link>http://www.roguetheme.com/2009/05/07/the-great-sample-post/</link>
		<comments>http://www.roguetheme.com/2009/05/07/the-great-sample-post/#comments</comments>
		<pubDate>Thu, 07 May 2009 13:37:01 +0000</pubDate>
		<dc:creator>Thord Daniel Hedengren</dc:creator>
				<category><![CDATA[Rogue Theme Manual]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://roguetheme.com/?p=18</guid>
		<description><![CDATA[It is always good to know how all elements in a theme looks, and this is the great sample post for Rogue Theme. If you believe we&#8217;ve forgotten an element, or you want us to add something to the list, do let us know.
Now, the Rogue Theme supports more than just these standard elements, and [...]]]></description>
			<content:encoded><![CDATA[<p>It is always good to know how all elements in a theme looks, and this is the great sample post for Rogue Theme. If you believe we&#8217;ve forgotten an element, or you want us to add something to the list, do let us know.</p>
<p>Now, the Rogue Theme supports more than just these standard elements, and we&#8217;ll get to those in a later post. For now, here&#8217;s the demo. <span id="more-18"></span></p>
<p>Let&#8217;s start with the basics, like <strong>this bold text</strong> for instance. Maybe you would like to put <em>some extra emphasis</em> on something, and how about <u>underlining</u> it? No, wait, <del datetime="2009-05-07T13:18:48+00:00">let&#8217;s scratch that</del> &#8211; underlining isn&#8217;t pretty and can get confused with <a href="http://tdhedengren.com">links</a>, which incidentally looks just like that.</p>
<p>Those are the basics. Moving on, let&#8217;s give the next section a proper heading, shall we?</p>
<h2>More advanced stuff (this is a H2 heading)</h2>
<p>Now let&#8217;s quote a famous text snippet that all designers love to hate:</p>
<blockquote><p>Lorem ipsum dolor sit amet, tortor porta eget molestie et. Ut netus augue lectus quisque turpis ut, quis dui eleifend nec quam, sed quis duis sed turpis, non wisi orci at suspendisse dictum aliquam, ut sit. Rutrum eros per diam, blandit iaculis, nullam lectus officia curabitur, donec mi sit natoque eu imperdiet.</p></blockquote>
<p>Classic huh?</p>
<h3>Lists (a H3 heading)</h3>
<p>You know what, we could do a bullet list out of that to save some time.</p>
<ul>
<li>Lorem ipsum dolor sit amet, tortor porta eget molestie et.</li>
<li>Ut netus augue lectus quisque turpis ut, quis dui eleifend nec quam, sed quis duis sed turpis, non wisi orci at suspendisse dictum aliquam, ut sit.</li>
<li>Rutrum eros per diam, blandit iaculis, nullam lectus officia curabitur, donec mi sit natoque eu imperdiet.</li>
</ul>
<p>Maybe we should have done it numbered instead?</p>
<ol>
<li>Lorem ipsum dolor sit amet, tortor porta eget molestie et.</li>
<li>Ut netus augue lectus quisque turpis ut, quis dui eleifend nec quam, sed quis duis sed turpis, non wisi orci at suspendisse dictum aliquam, ut sit.</li>
<li>Rutrum eros per diam, blandit iaculis, nullam lectus officia curabitur, donec mi sit natoque eu imperdiet.</li>
</ol>
<p>Still pretty basic stuff, so let&#8217;s move on.</p>
<h2>About the images</h2>
<p>This theme supports all standard image positioning classes that WordPress itself applies whenever you insert an image using the media uploader. That means that you can have it float left, right, or have it centered (with proper spacing below). It also means that image captions work just fine, as you&#8217;ll see on the right side near here.</p>
<h3>Messing everything up with captions</h3>
<div id="attachment_39" class="wp-caption alignright" style="width: 310px"><img src="http://roguetheme.com/wp-content/uploads/2009/05/dog-300x226.jpg" alt="Hey! Dogs!" title="Dogs" width="300" height="226" class="size-medium wp-image-39" /><p class="wp-caption-text">Hey! Dogs!</p></div>
<p>If you include an image with a caption text, it might mess up your line height and spacing. This is some funky thing that WordPress does when you&#8217;re using the HTML part of the post editor. In fact, it doesn&#8217;t properly separate the caption stuff from the default <code>P</code> tag (yes, that was the <code>code</code> demo) that goes around every paragraph you write.</p>
<p>You can easily avoid these nasty things by putting a blank line between the inserted image code with the caption shortcode, and the rest of the content. Like this, which you can see in action above:</p>
<pre class="brush: xml;">&lt;h3&gt;Messing everything up with captions&lt;/h3&gt;

&lt;img src=&quot;http://roguetheme.com/wp-content/uploads/2009/05/dog-300x226.jpg&quot; alt=&quot;Hey! Dogs!&quot; title=&quot;Dogs&quot; width=&quot;300&quot; height=&quot;226&quot; class=&quot;size-medium wp-image-39&quot; /&gt;

If you include an image with a caption text, it might mess up your line height and spacing. ... </pre>
<p>It is as easy as that.</p>
<h4>Please show me the code in plain text (a H4 heading)</h4>
<p>Sure, this is the code used for the image above, generated and inserted using the default image uploader.<br />
<code></code></p>
<h2>Would you like to see anything else?</h2>
<p>That&#8217;s the default tags, put to good use by explaining them in a hopefully more interesting fashion than that dreaded <em>Lorem ipsum</em> text. I hope you enjoyed it.</p>
<p>However, maybe we missed something? If we did, do give a shout in the comments and we&#8217;ll add it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.roguetheme.com/2009/05/07/the-great-sample-post/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
