<?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>Digital Nature</title>
	<atom:link href="http://digitalnature.ro/feed/" rel="self" type="application/rss+xml" />
	<link>http://digitalnature.ro</link>
	<description>Freelance designer</description>
	<lastBuildDate>Wed, 10 Mar 2010 22:54:23 +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>Extend Wordpress functionality with shortcodes</title>
		<link>http://digitalnature.ro/blog/extend-wordpress-functionality-with-shortcodes/</link>
		<comments>http://digitalnature.ro/blog/extend-wordpress-functionality-with-shortcodes/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 16:23:05 +0000</pubDate>
		<dc:creator>Milenko</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://digitalnature.ro/?p=294</guid>
		<description><![CDATA[Two useful shortcodes, that you can add to your functions.php file...]]></description>
			<content:encoded><![CDATA[<p>Two useful shortcodes, that you can add to your functions.php file (if you&#8217;re not using the <a href="http://wordpress.digitalnature.ro/mystique/shortcodes/">Mystique theme</a>):</p>
<h2>Allowing the user to insert a arbitrary widget inside posts:</h2>
<pre class="php code" style="font-family:monospace;font-size:110%; padding-left: 10px;"><ol><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">&lt;?php</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">function</span> widget<span style="color: #009900;">&#40;</span><span style="color: #000088;">$atts</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wp_widget_factory</span><span style="color: #339933;">;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/extract"><span style="color: #990000;">extract</span></a><span style="color: #009900;">&#40;</span>shortcode_atts<span style="color: #009900;">&#40;</span><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'class'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">FALSE</span> <span style="color: #666666; font-style: italic;">// the widget's PHP class name, required</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$atts</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// make sure the user doesn't XSS us (wpmu)</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$class</span> <span style="color: #339933;">=</span> wp_specialchars<span style="color: #009900;">&#40;</span><span style="color: #000088;">$class</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">//check if the class exists</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/is_a"><span style="color: #990000;">is_a</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$wp_widget_factory</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">widgets</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$class</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'WP_Widget'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// if it doesn't, then try to add WP_Widget_ in front of the class name, and check again</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$wp_class</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'WP_Widget_'</span><span style="color: #339933;">.</span><a href="http://www.php.net/ucwords"><span style="color: #990000;">ucwords</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$class</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// capitalize 1st letter</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/is_a"><span style="color: #990000;">is_a</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$wp_widget_factory</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">widgets</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$wp_class</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'WP_Widget'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$wp_class</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'WP_Widget_'</span><span style="color: #339933;">.</span><a href="http://www.php.net/ucwords"><span style="color: #990000;">ucwords</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/strtolower"><span style="color: #990000;">strtolower</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$class</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/is_a"><span style="color: #990000;">is_a</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$wp_widget_factory</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">widgets</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$wp_class</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'WP_Widget'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'&lt;p&gt;'</span><span style="color: #339933;">.</span><a href="http://www.php.net/sprintf"><span style="color: #990000;">sprintf</span></a><span style="color: #009900;">&#40;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #009933; font-weight: bold;">%s</span>: Widget class not found. Make sure this widget exists and the class name is correct&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'&lt;strong&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$class</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/strong&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/p&gt;'</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">else</span><span style="color: #339933;">:</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$class</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$wp_class</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// checking for other attributes, other than &quot;class&quot;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$instance</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$atts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$att</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$val</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$att</span><span style="color: #339933;">!=</span><span style="color: #0000ff;">&quot;class&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$instance</span><span style="color: #009900;">&#91;</span>wp_specialchars<span style="color: #009900;">&#40;</span><span style="color: #000088;">$att</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span>wp_specialchars<span style="color: #009900;">&#40;</span><span style="color: #000088;">$val</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">endforeach</span><span style="color: #339933;">;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$id</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$class</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// name the selector id as the PHP class name</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// this is the css class, not the PHP class name</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$classname</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$wp_widget_factory</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">widgets</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$class</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">widget_options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'classname'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// if doesn't exist, name it as the id (class name)</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$classname</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$classname</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// change the id to the widget id parameter, if set</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$instance</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'widget_id'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$id</span><span style="color: #339933;">=</span> <span style="color: #000088;">$instance</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'widget_id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// output to php buffer, because there's not get_the_widget function in wp</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/ob_start"><span style="color: #990000;">ob_start</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// display the widget</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">the_widget<span style="color: #009900;">&#40;</span><span style="color: #000088;">$class</span><span style="color: #339933;">,</span> <span style="color: #000088;">$instance</span><span style="color: #339933;">,</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'widget_id'</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'arbitrary-instance-'</span><span style="color: #339933;">.</span><span style="color: #000088;">$id</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'before_widget'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'after_widget'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'before_title'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'after_title'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// store the buffer output in a variable</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/ob_get_contents"><span style="color: #990000;">ob_get_contents</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/ob_end_clean"><span style="color: #990000;">ob_end_clean</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// display it</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">return</span> <span style="color: #000088;">$output</span><span style="color: #339933;">;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">add_shortcode<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'widget'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'widget'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// registers the shortcode</span></div></li></ol></pre><br />
To use this add in your posts for example:<br />
[<strong>widget  class="calendar"</strong>]<br />
A more detailed explanation <a href="http://wordpress.digitalnature.ro/mystique/shortcodes/arbitrary-widgets-inside-posts/">here</a>.</p>
<h2>Display certain posts  inside pages:</h2>
<pre class="php code" style="font-family:monospace;font-size:110%; padding-left: 10px;"><ol><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">&lt;?php</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">function</span> queryposts<span style="color: #009900;">&#40;</span><span style="color: #000088;">$atts</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/extract"><span style="color: #990000;">extract</span></a><span style="color: #009900;">&#40;</span> shortcode_atts<span style="color: #009900;">&#40;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'category_id'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'category_name'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'tag'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'day'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'month'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'year'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'count'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'5'</span><span style="color: #339933;">,</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'author_id'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'author_name'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000ff;">'order_by'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'date'</span><span style="color: #339933;">,</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$atts</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// create the query string</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$category_id</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$query</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'cat='</span> <span style="color: #339933;">.</span><span style="color: #000088;">$category_id</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$category_name</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$query</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'category_name='</span> <span style="color: #339933;">.</span><span style="color: #000088;">$category_name</span><span style="color: #339933;">;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$tag</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$query</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'tag='</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$tag</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$day</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$query</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'day='</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$day</span><span style="color: #339933;">;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$month</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$query</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'monthnum='</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$month</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$year</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$query</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'year='</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$year</span><span style="color: #339933;">;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$count</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$query</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'posts_per_page='</span> <span style="color: #339933;">.</span><span style="color: #000088;">$count</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$author_id</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$query</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'author='</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$author_id</span><span style="color: #339933;">;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$author_name</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$query</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'author_name='</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$author_name</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$order_by</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$query</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'orderby='</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$order_by</span><span style="color: #339933;">;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/ob_start"><span style="color: #990000;">ob_start</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// output to buffer</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// backup the $post variable so it doesn't mess it up if called again</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$backup</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$posts</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WP_Query<span style="color: #009900;">&#40;</span><a href="http://www.php.net/implode"><span style="color: #990000;">implode</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&amp;'</span><span style="color: #339933;">,</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$posts</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">have_posts</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #000088;">$posts</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">the_post</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// copy here the post layout from your theme's index.php file -- this is just a example ?&gt;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$post</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$backup</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// restore the original $post</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">wp_reset_query<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #666666; font-style: italic;">// store the buffer output in the $output variable</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/ob_get_contents"><span style="color: #990000;">ob_get_contents</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><a href="http://www.php.net/ob_end_clean"><span style="color: #990000;">ob_end_clean</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">return</span> <span style="color: #000088;">$output</span><span style="color: #339933;">;</span></div></li><li style="background: #fff;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div></li><li style="background: #f9f9f9;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">add_shortcode<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'query'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'queryposts'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// add the shortcode...</span></div></li></ol></pre><br />
Example:<br />
[<strong>query category_name="Uncategorized" count=15</strong>]</p>
]]></content:encoded>
			<wfw:commentRss>http://digitalnature.ro/blog/extend-wordpress-functionality-with-shortcodes/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>Translating a Wordpress theme</title>
		<link>http://digitalnature.ro/blog/translating-a-wordpress-theme/</link>
		<comments>http://digitalnature.ro/blog/translating-a-wordpress-theme/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 01:44:54 +0000</pubDate>
		<dc:creator>Milenko</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[localization]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://digitalnature.ro/?p=139</guid>
		<description><![CDATA[This is a short tutorial on how to properly translate a Wordpress theme. Mystique is used as example here.  I will choose PoEdit as the translation application, since it's the easiest to use because of the simple user interface...]]></description>
			<content:encoded><![CDATA[<p>This is a short tutorial on how to properly translate a Wordpress theme. <a href="http://digitalnature.ro/projects/mystique">Mystique</a> is used as example here.  I will choose <a href="http://www.poedit.net/">PoEdit</a> as the translation application, since it&#8217;s the easiest to use because of the simple user interface.</p>
<p>&#8230;so, here are all the steps:</p>
<p>First <a href="http://www.poedit.net/download.php">download and install Poedit</a>.</p>
<p>Select the theme you wish to translate and extract or copy the theme files into a new directory. In this example, I&#8217;m unzipping all the theme files inside the <strong>C:\mystique</strong> directory. Now open the PoEdit application, and create a new catalog  <em>(File &gt; New catalog)</em>, or you can open an existing catalog from the theme directory, if the theme has one. For example, the <strong>en_US.po</strong> file for Mystique.</p>
<p>From the menu, select <em>Catalog &gt; settings</em> and fill all the required information.</p>
<p style="text-align: center"><img class="aligncenter" title="translating-wp-themes-1" src="http://digitalnature.ro/wp-content/uploads/2009/11/translating-wp-themes-1.png" alt="translating-wp-themes-1" width="500" height="450" /></p>
<p>Don&#8217;t close the settings window yet. Click on the <em>Paths</em> tab and change the local path from 1st line with your path to the theme files, in our example <strong> C:\mystique</strong></p>
<p style="text-align: center"><strong><img class="aligncenter" title="translating-wp-themes-2" src="http://digitalnature.ro/wp-content/uploads/2009/11/translating-wp-themes-2.png" alt="translating-wp-themes-2" width="500" height="450" /> </strong></p>
<p style="text-align: left">Click OK, then update the catalog (<em>Catalog &gt; Update from sources</em>) to verify that your path to the theme is correct, and to update all the strings. You can also update the catalog from a existing .pot template, if the theme has one (that way you wouldn&#8217;t need to extract all the theme files on your computer).</p>
<p style="text-align: left">If you don&#8217;t get any errors, you can start translating the theme by selecting each string in bold from the list, and typing the translation in editable area from the bottom. Here&#8217;s a sample phrase translated to French:</p>
<p style="text-align: left"><img class="aligncenter size-full wp-image-251" title="translating-wp-themes-3" src="http://digitalnature.ro/wp-content/uploads/2009/11/translating-wp-themes-3.png" alt="translating-wp-themes-3" width="465" height="400" /></p>
<p style="text-align: left">
<p style="text-align: left">Be careful with the php values, such as <strong>%s</strong>, <strong>%2$s</strong> etc. Always include them in the translated string! If you want to hide some of them you can use html comments &#8211; for example if you want to hide the author link in Mystique (original string: <strong>Posted by %1$s in %2$s</strong>):<strong><br />
</strong></p>
<pre><span>Posté &lt;!-- par %1$s --&gt; dans %2$s</span></pre>
<p style="text-align: left">When you&#8217;re finished, save your catalog by using the <em>languagecode_COUNTRYCODE</em> file naming convention, eg. as <em>fr_FR</em>, and upload the compiled catalog that was generated by PoEdit (eg. <em>fr_FR.mo</em>) to your server, in the appropriate theme language file directory. That&#8217;s it <img src='http://digitalnature.ro/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p style="text-align: left">Related resources:<br />
<a href="http://codex.wordpress.org/WordPress_in_Your_Language">WordPress in Your Language</a></p>
]]></content:encoded>
			<wfw:commentRss>http://digitalnature.ro/blog/translating-a-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
		<item>
		<title>Site update</title>
		<link>http://digitalnature.ro/blog/site-update/</link>
		<comments>http://digitalnature.ro/blog/site-update/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 18:42:46 +0000</pubDate>
		<dc:creator>Milenko</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://digitalnature.ro/?p=235</guid>
		<description><![CDATA[I had to do some improvements to the site because the old template was making it run very slow. I'm also working to add a forum section for the free themes as many people requested - the comment system is becoming impractical...]]></description>
			<content:encoded><![CDATA[<p>I had to do some improvements to the site because the old template was making it run very slow. I&#8217;m also working to add a forum section for the free themes as many people requested &#8211; the comment system is becoming impractical&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://digitalnature.ro/blog/site-update/feed/</wfw:commentRss>
		<slash:comments>60</slash:comments>
		</item>
		<item>
		<title>Mystique</title>
		<link>http://digitalnature.ro/projects/mystique/</link>
		<comments>http://digitalnature.ro/projects/mystique/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 23:47:48 +0000</pubDate>
		<dc:creator>Milenko</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[mystique]]></category>
		<category><![CDATA[premium]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://digitalnature.ro/?p=185</guid>
		<description><![CDATA[Mystique is a free Wordpress theme that attempts to top commercial templates in terms of design and functionality. Some of its features include 4 theme widgets, page templates for different layout styles and a advanced interface for the theme settings&#8230;
casino online
Support this project



 

]]></description>
			<content:encoded><![CDATA[<p>Mystique is a free Wordpress theme that attempts to top commercial templates in terms of design and functionality. Some of its features include 4 theme widgets, page templates for different layout styles and a advanced interface for the theme settings&#8230;<br />
<a class="ad h" href="http://www.pollycoke.net">casino online</a></p>
<p><em>Support this project</em></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="4605915" />
<input alt="Donate" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /><br />
</form>
]]></content:encoded>
			<wfw:commentRss>http://digitalnature.ro/projects/mystique/feed/</wfw:commentRss>
		<slash:comments>3335</slash:comments>
		</item>
		<item>
		<title>Arclite</title>
		<link>http://digitalnature.ro/projects/arclite/</link>
		<comments>http://digitalnature.ro/projects/arclite/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 22:59:46 +0000</pubDate>
		<dc:creator>Milenko</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[arclite]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://digitalnature.ro/?p=101</guid>
		<description><![CDATA[Another clean/light style theme. Some of its features include the ability to switch between the normal image-based design to a entirely CSS based one (without images), a few background/color variations, fluid layout, optional 3rd column and many more&#8230;
Support this project



 

]]></description>
			<content:encoded><![CDATA[<p>Another clean/light style theme. Some of its features include the ability to switch between the normal image-based design to a entirely CSS based one (without images), a few background/color variations, fluid layout, optional 3rd column and many more&#8230;</p>
<p><em>Support this project</em></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="4605915" />
<input alt="Donate" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /><br />
</form>
]]></content:encoded>
			<wfw:commentRss>http://digitalnature.ro/projects/arclite/feed/</wfw:commentRss>
		<slash:comments>1268</slash:comments>
		</item>
		<item>
		<title>420AM</title>
		<link>http://digitalnature.ro/projects/420am/</link>
		<comments>http://digitalnature.ro/projects/420am/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 15:16:28 +0000</pubDate>
		<dc:creator>Milenko</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[420am]]></category>
		<category><![CDATA[grunge]]></category>
		<category><![CDATA[wood]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://digitalnature.ro/?p=92</guid>
		<description><![CDATA[A dark Wordpress theme with a rustic look, grunge style. Still under development

Support this project




  

]]></description>
			<content:encoded><![CDATA[<p>A dark Wordpress theme with a rustic look, grunge style. Still under development</p>
<p>
<em>Support this project</em></p>
<form 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="4605915">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="Donate">
  <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://digitalnature.ro/projects/420am/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>Fusion</title>
		<link>http://digitalnature.ro/projects/fusion/</link>
		<comments>http://digitalnature.ro/projects/fusion/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 02:20:29 +0000</pubDate>
		<dc:creator>Milenko</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[fusion]]></category>
		<category><![CDATA[pligg]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://digitalnature.ro/play/?p=16</guid>
		<description><![CDATA[A free CSS template with 2 or 3 columns (right sidebar), and fixed or fluid width. Currently the Wordpress and Pligg themes are available, but I&#8217;m also planning to port this to Drupal when I find the time.
Support this project



 

]]></description>
			<content:encoded><![CDATA[<p>A free CSS template with 2 or 3 columns (right sidebar), and fixed or fluid width. Currently the Wordpress and Pligg themes are available, but I&#8217;m also planning to port this to Drupal when I find the time.</p>
<p><em>Support this project</em></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="4605915" />
<input alt="Donate" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /><br />
</form>
]]></content:encoded>
			<wfw:commentRss>http://digitalnature.ro/projects/fusion/feed/</wfw:commentRss>
		<slash:comments>1456</slash:comments>
		</item>
	</channel>
</rss>
