<?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>I Like WordPress! &#187; Featured</title>
	<atom:link href="http://ilikewordpress.com/category/featured/feed/" rel="self" type="application/rss+xml" />
	<link>http://ilikewordpress.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 08 Apr 2011 21:30:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>How to Display Your Post/Page Content in Two Columns</title>
		<link>http://ilikewordpress.com/393/how-to-display-your-postpage-content-in-two-columns/</link>
		<comments>http://ilikewordpress.com/393/how-to-display-your-postpage-content-in-two-columns/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 21:29:19 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[On WordPress]]></category>
		<category><![CDATA[Template coding]]></category>

		<guid isPermaLink="false">http://ilikewordpress.com/?p=393</guid>
		<description><![CDATA[Ok, so life has intruded and I haven&#8217;t updated things here as often as I&#8217;d hoped. So here&#8217;s a little treat: how to display your content in two columns. Why should you display content in two columns? Narrower text columns can increase readability, especially if you have a wide ( 600px or more ) content [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Ok, so life has intruded and I haven&#8217;t updated things here as often as I&#8217;d hoped.</p>
<p>So here&#8217;s a little treat: how to display your content in two columns.</p>
<p>Why should you display content in two columns? Narrower text columns can increase readability, especially if you have a wide ( 600px or more ) content column. There is a lot of discussion out there on the advantages of narrow text columns, give Google a shot if you&#8217;re interested.</p>
<div class="column left" style="width: 45%; margin-right: 5%; float: left; text-align: justify; "><p>How to do it? We&#8217;re going to use <a title="WordPress Shortcode API" href="http://codex.wordpress.org/Shortcode_API">the WordPress shortcode handler</a>, and a little bit of CSS, instead of modifying a theme template. This way, if you WANT two columns, you can have them, if not, don&#8217;t. Also, it&#8217;s still a little problematic to split a body of text automagically using scripting.</p>
</div>
<div class="column right" style="width: 45%; float: left; text-align: justify;"><p> The columns usually NEVER break where you want. Using shortcodes to define the column content allows us to control what goes where.</p>
</div><div style="clear: both;"></div>
<p>We could create a plugin for this, but for ease of demonstration, we&#8217;ll just put it in the theme&#8217;s functions.php file. Note: with some themes like Thesis or Genesis, you may need to add this to a &#8216;custom&#8217; functions file. Consult your documentation.</p>
<p>We will define two shortcode pairs, [leftcol] and [rightcol]. You&#8217;ll start the left column content with the [leftcol] shortcode tag, and end it with the [/leftcol] closing tag. Repeat for the right column. Shortcode tags MUST begin on a new line in your editor, or WordPress won&#8217;t recognize them as shortcodes. If you see one of the shortcode tags in your displayed post, that&#8217;s probably why.</p>
<p>Here is what the two columns above look like in the post editor:</p>
<p><code>[leftcol]How to do it? We're going to use <a title="WordPress Shortcode API" href="http://codex.wordpress.org/Shortcode_API">the WordPress shortcode handler</a>, and a little bit of CSS, instead of modifying a theme template. This way, if you WANT two columns, you can have them, if not, don't. Also, it's still a little problematic to split a body of text automagically using scripting.[/leftcol]<br />
[rightcol] The columns usually NEVER break where you want. Using shortcodes to define the column content allows us to control what goes where.[/rightcol]</code></p>
<p>Here is the code:</p>
<pre class="brush: php; title: ; notranslate">
/**********************
*
* shortcode handler for columnization of project posts
* ex: [leftcol]content here...[/leftcol]
*/
function shortcode_columnize_left( $atts, $content = null ) {
 $content = wptexturize( $content );
 $content = wpautop( $content );
 $content = '&lt;div style=&quot;width: 45%; margin-right: 5%; float: left; text-align: justify; &quot;&gt;' . $content . '&lt;/div&gt;';
 return $content;
}

/* columnize right inserts 'clear' div after content */
function shortcode_columnize_right( $atts, $content = null ) {
 $content = wptexturize( $content );
 $content = wpautop( $content );
 $content = '&lt;div style=&quot;width: 45%; float: left; text-align: justify;&quot;&gt;' . $content . '&lt;/div&gt;&lt;div style=&quot;clear: both;&quot;&gt;&lt;/div&gt;';
 return $content;
}
add_shortcode( 'leftcol', 'shortcode_columnize_left' );
add_shortcode( 'rightcol', 'shortcode_columnize_right' );
</pre>
<p>We define functions to take the content that is between the shortcode tag pairs, run it through the same filters that WordPress uses for post content, wptexturize() and wpautop(), then spit it out within a div with a width of 45%, right margin of 5%, floated to the left, and the same with the right column but without the right margin. We add a div after the right content with a style of &#8220;clear: both&#8221; so that the rest of the page content clears the floated divs.</p>
<p>Then we tell WordPress to use our functions when it encounters the [leftcol] and [rightcol] shortcode tags within our post.</p>
<p>Voila, finit. That&#8217;s all there is to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://ilikewordpress.com/393/how-to-display-your-postpage-content-in-two-columns/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Graphic Design Book Blowout! Over 70% Off Retail!</title>
		<link>http://ilikewordpress.com/291/graphic-design-book-blowout-over-70-off-retail/</link>
		<comments>http://ilikewordpress.com/291/graphic-design-book-blowout-over-70-off-retail/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 17:27:02 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tech stuff]]></category>

		<guid isPermaLink="false">http://ilikewordpress.com/?p=291</guid>
		<description><![CDATA[I am done completely with print design and design in general. Because it&#8217;s also spring-cleaning time for my office in preparation for a move, these books really need to find a new home. I would prefer to sell them as one package, but let me know if there&#8217;s one or two that you want. There [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I am done completely with print design and design in general. Because it&#8217;s also spring-cleaning time for my office in preparation for a move, these books really need to find a new home. I  would prefer to sell them as one package, but let me know if there&#8217;s one or two that you want.</p>
<p>There are almost $250 worth of books here, all in good shape. They have been read, though, so they&#8217;re not pristine.</p>
<p>Buy-it-now price: $75 + $10 shipping, total $85. Hit the preloaded PayPal button below or at the end of the post. Yes, you can use credit card or debit card.</p>
<p>Or &#8211; give me an offer. I&#8217;d like to see these go to someone who can use them and will appreciate them.</p>
<form style="text-align: center;" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="XYZFR5MTL8EY8">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"  style="width: 122px; border: none; background: transparent;" >
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"><br />
</form>
<p><img src="http://ecx.images-amazon.com/images/I/512i04f2f5L._SL160_.jpg" alt="" /> Graphic effects and typographic treatments. Jim Krause, $22.99 USD. ISBN 1-58180-046-0</p>
<p><img src="http://ecx.images-amazon.com/images/I/515bTVmux%2BL._SL160_.jpg" alt="" /> Brochure, poster/flyer, web design, advertising, newsletter, page layout, stationery ideas. Jim Krause, $22.99 USD. ISBN 1-58180-146-7</p>
<p><img src="http://ecx.images-amazon.com/images/I/51MAF1WE4NL._SL160_.jpg" alt="" /> An index of 150+ concepts, images and exercises to ignite your design  ingenuity. Jim Krause, $24.99 USD. ISBN 1-58180-438-5</p>
<p><img src="http://ecx.images-amazon.com/images/I/51MxJK29EML._SL160_.jpg" alt="" /> Over 1100 Color Combinations, CMYK &amp; RGB Formulas, for print and web media. Jim Krause, $23.99 USD. ISBN 1-58180-236-6</p>
<p><img src="http://ecx.images-amazon.com/images/I/41fxWU6VCPL._SL160_.jpg" alt="" /> A graphic designer&#8217;s guide to designing effective compositions, selecting dynamic components &amp; devloping creative concepts. Jim Krause, $24.99 USD. ISBN 1-58180-501-2</p>
<p><img src="http://ecx.images-amazon.com/images/I/51j3paLw4OL._SL160_.jpg" alt="" /> 375+ pages of design ideas, edited by the famous David E. Carter, $29.99 USD. ISBN 0-06-008763-3</p>
<p><img src="http://ecx.images-amazon.com/images/I/41QW3VWFNHL._SL160_.jpg" alt="" /> Design and Typographic Principles for the Visual Novice, Robin Williams, $14.95USD. ISBN 1-56609-159-4</p>
<p><img src="http://ecx.images-amazon.com/images/I/51AFQ4R3WGL._SL160_.jpg" alt="" /> The Non-Designer&#8217;s Type Book, Robin Williams, $24.99USD. ISBN 0-201-35367-9</p>
<p><img src="http://ecx.images-amazon.com/images/I/51B1MSE5E9L._SL160_.jpg" alt="" /> Everything you need to know to create dynamic layouts. Graham Davis, $21.99USD. ISBN  1-58180-260-9</p>
<p><img src="http://ecx.images-amazon.com/images/I/51BF6Z5XDCL._SL160_.jpg" alt="" /> Design principles, decisions, projects. David Dabner, $23.99USD. ISBN 1-58180-435-0</p>
<form style="text-align: center;" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="XYZFR5MTL8EY8">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"  style="width: 122px; border: none; background: transparent;" >
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"><br />
</form>
]]></content:encoded>
			<wfw:commentRss>http://ilikewordpress.com/291/graphic-design-book-blowout-over-70-off-retail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twavatar &#8211; Twitter Avatars For Your WordPress Blog</title>
		<link>http://ilikewordpress.com/134/twavatar-twitter-avatars-for-your-wordpress-blog/</link>
		<comments>http://ilikewordpress.com/134/twavatar-twitter-avatars-for-your-wordpress-blog/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 19:40:30 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[On WordPress]]></category>
		<category><![CDATA[WordPress plugins]]></category>

		<guid isPermaLink="false">http://ilikewordpress.com/?p=134</guid>
		<description><![CDATA[An update: Twitter has seen fit to deprecate (discontinue) the search function that this plugin depended on. Until I can come up with some kind of solution, you should deactivate the plugin if you&#8217;re using it; you might have some unexpected errors. Today is release day for Twavatar &#8211; Twitter Avatars For Your WordPress Blog. [...]]]></description>
			<content:encoded><![CDATA[<p></p><p style="text-align: center; padding: 1em; background: #eee; border: 1px dotted #333; margin-left: auto; margin-right: auto; width: 80%; color: red;">An update: Twitter has seen fit to deprecate (discontinue) the search function that this plugin depended on. Until I can come up with some kind of solution, you should deactivate the plugin if you&#8217;re using it; you might have some unexpected errors.</p>
<p>Today is release day for <a href="/twavatar">Twavatar &#8211; Twitter Avatars For Your WordPress Blog</a>.</p>
<p>It is a simple plugin that displays a commenter&#8217;s Twitter profile image in place of the standard WordPress gravatar. If a Twitter image can&#8217;t be found, the regular gravatar is displayed.</p>
<p>Twavatar is nice to twitter &#8211; it only looks once, and if it finds a profile URL, it caches it in your database for future use. Future versions of the plugin will have an expiry time on the cached URL to ensure avatarial freshness.</p>
<p>You can <a href="/twavatar">download the plugin from its page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ilikewordpress.com/134/twavatar-twitter-avatars-for-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

