<?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 Visions Queenstown &#187; WordPress</title>
	<atom:link href="http://www.dvq.co.nz/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dvq.co.nz</link>
	<description>&#34;KickAss Cool&#34; Web Development</description>
	<lastBuildDate>Mon, 26 Jul 2010 20:47:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>PhotoView v.1.1 &#8211; Now with Vimeo and YouTube Support</title>
		<link>http://www.dvq.co.nz/wordpress/photoview-v-1-1-now-with-vimeo-and-youtube-support/</link>
		<comments>http://www.dvq.co.nz/wordpress/photoview-v-1-1-now-with-vimeo-and-youtube-support/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 11:37:56 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dvq.co.nz/?p=609</guid>
		<description><![CDATA[PhotoView v.1.1 now includes Vimeo and YouTube support. Theme Demo and Details Here.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.dvq.co.nz/wp-content/uploads/2009/09/photoview-preview.jpg" alt="" title="photoview-preview" width="449" height="223" class="alignnone size-full wp-image-777" /></p>
<p><strong>PhotoView v.1.1 now includes <a href="http://vimeo.com/">Vimeo</a> and <a href="http://youtube.com">YouTube</a> support.</strong></p>
<p>Theme Demo and Details <a href="http://www.dvq.co.nz/theme/photoview-v-1-1/">Here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dvq.co.nz/wordpress/photoview-v-1-1-now-with-vimeo-and-youtube-support/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Upcoming Theme Preview: Orange Fresh</title>
		<link>http://www.dvq.co.nz/wordpress/upcoming-theme-preview-orange-fresh/</link>
		<comments>http://www.dvq.co.nz/wordpress/upcoming-theme-preview-orange-fresh/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 22:30:26 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dvq.co.nz/?p=589</guid>
		<description><![CDATA[Here is a little preview of my new theme &#8220;Orange Fresh&#8221; aka &#8220;Big and Bright&#8221; v.2. Be sure to check out the full size image and let me know what you guys think.]]></description>
			<content:encoded><![CDATA[<p>Here is a little preview of my new theme &#8220;<strong>Orange Fresh</strong>&#8221; aka &#8220;Big and Bright&#8221; v.2.</p>
<p>Be sure to check out the full size image and let me know what you guys think.</p>
<p><img src="http://www.dvq.co.nz/wp-content/uploads/2009/09/orange-fresh-preview.jpg" alt="" title="orange-fresh-preview" width="449" height="388" class="alignnone size-full wp-image-780" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dvq.co.nz/wordpress/upcoming-theme-preview-orange-fresh/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Upcoming Theme Preview: Cypher v.2</title>
		<link>http://www.dvq.co.nz/wordpress/upcoming-theme-preview-cypher-v-2/</link>
		<comments>http://www.dvq.co.nz/wordpress/upcoming-theme-preview-cypher-v-2/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 00:25:13 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dvq.co.nz/?p=524</guid>
		<description><![CDATA[Check out the demo of Cypher v.2]]></description>
			<content:encoded><![CDATA[<p>Check out the demo of <a href="http://themes.dvq.co.nz/demo/?themedemo=cypher">Cypher v.2</a></p>
<p><img src="http://www.dvq.co.nz/wp-content/uploads/2009/08/cypher-v2-preview1.jpg" alt="" title="cypher-v2-preview" width="449" height="319" class="alignnone size-full wp-image-785" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dvq.co.nz/wordpress/upcoming-theme-preview-cypher-v-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Upcoming Theme Preview: PhotoView</title>
		<link>http://www.dvq.co.nz/wordpress/upcoming-theme-preview-photoview/</link>
		<comments>http://www.dvq.co.nz/wordpress/upcoming-theme-preview-photoview/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 01:57:17 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dvq.co.nz/?p=510</guid>
		<description><![CDATA[Update: You can try out a demo here, let know if you find any bugs :) PhotoView is designed specifically for displaying photos in a simple and clean manner. PhotoView includes lightbox and comments support.]]></description>
			<content:encoded><![CDATA[<p><strong>Update: You can try out a demo <a href="http://themes.dvq.co.nz/demo/photoview/">here</a>, let know if you find any bugs :)</strong></p>
<p>PhotoView is designed specifically for displaying photos in a simple and clean manner.</p>
<p>PhotoView includes lightbox and comments support.</p>
<p><img src="http://www.dvq.co.nz/wp-content/uploads/2009/09/photoview-preview.jpg" alt="" title="photoview-preview" width="449" height="223" class="alignnone size-full wp-image-777" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dvq.co.nz/wordpress/upcoming-theme-preview-photoview/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Upcoming Theme Preview: Free Style</title>
		<link>http://www.dvq.co.nz/wordpress/upcoming-theme-preview-free-style/</link>
		<comments>http://www.dvq.co.nz/wordpress/upcoming-theme-preview-free-style/#comments</comments>
		<pubDate>Tue, 12 May 2009 01:57:19 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dvq.co.nz/?p=391</guid>
		<description><![CDATA[Today I am happy to introduce &#8220;Free Style&#8221;, a free wordpress theme I am working on. Your input wanted If there is any specific features you would like see implemented in Free Style, just leave a comment and let me know.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.dvq.co.nz/wp-content/uploads/2009/06/freestyle-preview.jpg" alt="" title="freestyle-preview" width="449" height="321" class="alignnone size-full wp-image-792" /></p>
<p>Today I am happy to introduce &#8220;Free Style&#8221;, a free wordpress theme I am working on.</p>
<p><span id="more-391"></span></p>
<h3>Your input wanted</h3>
<p>If there is any specific features you would like see implemented in Free Style, just leave a comment and let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dvq.co.nz/wordpress/upcoming-theme-preview-free-style/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Quick WordPress Theme Tips</title>
		<link>http://www.dvq.co.nz/wordpress/quick-wordpress-theme-tips/</link>
		<comments>http://www.dvq.co.nz/wordpress/quick-wordpress-theme-tips/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 02:49:39 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dvq.co.nz/?p=365</guid>
		<description><![CDATA[1. Page Titles Instead of using the standard: &#60;title&#62;&#60;?php wp_title&#40;'&#38;laquo;', true, 'right'&#41;; ?&#62; &#60;?php bloginfo&#40;'name'&#41;; ?&#62;&#60;/title&#62; You can add a little more to it, so that you have control of the title of the home, search, author, single pages etc. &#60;title&#62; &#60;?php if &#40; is_home&#40;&#41; &#41; &#123; ?&#62;&#60;?php bloginfo&#40;'name'&#41;; ?&#62; &#38;raquo; &#60;?php bloginfo&#40;'description'&#41;; ?&#62;&#60;?php &#125; [...]]]></description>
			<content:encoded><![CDATA[<h3>1. Page Titles</h3>
<p>Instead of using the standard:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;title&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_title<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&amp;laquo;'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'right'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/title&gt;</pre></div></div>

<p>You can add a little more to it, so that you have control of the title of the home, search, author, single pages etc.</p>
<p><span id="more-365"></span></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;title&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_home<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> &amp;raquo; <span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'description'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_search<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> &amp;raquo; Search Results<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_author<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> &amp;raquo; Author Archives<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_single<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_title<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> &amp;raquo; <span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_page<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> &amp;raquo; <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_title<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_category<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> &amp;raquo; Archive &amp;raquo; <span style="color: #000000; font-weight: bold;">&lt;?php</span> single_cat_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_month<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> &amp;raquo; Archive &amp;raquo; <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_time<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'F'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'is_tag'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_tag<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> &amp;raquo; Tag Archive &amp;raquo; <span style="color: #000000; font-weight: bold;">&lt;?php</span>  single_tag_title<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/title&gt;</pre></div></div>

<h3>2. Body Classes</h3>
<p>To gain more control over the styling of your pages, you can set it up so that the title of each post is applied as a class to the body element.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;body class=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_name</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;</pre></div></div>

<p>You can take this even further by adding classes for the type of page (ie. 404, search, archive etc.), the operating system and browser that the visitor is using.</p>
<p>For more information on this check the <a href="http://www.plaintxt.org/themes/sandbox/">Sandbox</a> and <a href="http://themeshaper.com/thematic-for-wordpress/">Thematic</a> themes.</p>
<h3>3. Dynamic Copyright</h3>
<p>Often I see website footers that say &#8220;Copyright 2008&#8243;.</p>
<p>To make it so the year is automatically updated for you, just add:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">Copyright &amp;copy; <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Y&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>.</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.dvq.co.nz/wordpress/quick-wordpress-theme-tips/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating a WordPress Sideblog</title>
		<link>http://www.dvq.co.nz/wordpress/creating-a-wordpress-sideblog/</link>
		<comments>http://www.dvq.co.nz/wordpress/creating-a-wordpress-sideblog/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 02:42:33 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dvq.co.nz/?p=296</guid>
		<description><![CDATA[Sideblogs are great for displaying small news item in the sidebar and they are very easy to implement. First open your themes sidebar.php file, then find where you want to add the sideblog and paste the following code. &#60;?php $sideblog = new WP_Query&#40;&#41;; $sideblog-&#62;query&#40; 'category_name=Sideblog&#38;amp;showposts=10' &#41;; ?&#62; &#160; &#60;?php while &#40;$sideblog-&#62;have_posts&#40;&#41;&#41; : $sideblog-&#62;the_post&#40;&#41;; ?&#62; &#60;a [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.dvq.co.nz/wp-content/uploads/2009/02/wordpress-sideblog-preview.jpg" alt="" title="wordpress-sideblog-preview" width="449" height="157" class="alignnone size-full wp-image-826" /></p>
<p>Sideblogs are great for displaying small news item in the sidebar and they are very easy to implement.</p>
<p><span id="more-296"></span></p>
<p>First open your themes sidebar.php file, then find where you want to add the sideblog and paste the following code.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$sideblog</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WP_Query<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$sideblog</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'category_name=Sideblog&amp;amp;showposts=10'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$sideblog</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;">$sideblog</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> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title_attribute<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>This tells WordPress to display the title of the 10 most recent posts in the Sideblog category.</p>
<p>To make it easier to style the sideblog posts you should put them in a list. You also might want to add a short description with the &#8220;excerpt&#8221; tag.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$sideblog</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WP_Query<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$sideblog</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'category_name=Sideblog&amp;showposts=10'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;ul class=&quot;sideblog&quot;&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$sideblog</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;">$sideblog</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> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;li&gt;
		&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title_attribute<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;
		<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_excerpt<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;/li&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ul&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.dvq.co.nz/wordpress/creating-a-wordpress-sideblog/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
