<?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>Hodgeman Web Design &#187; Theme</title>
	<atom:link href="http://hodgeman.co.nz/blog/tag/theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://hodgeman.co.nz</link>
	<description>Website Design Rotorua, WordPress &#38; Hosting - Hodgeman Web Design</description>
	<lastBuildDate>Thu, 02 May 2013 03:06:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>New look for Regent of Rotorua</title>
		<link>http://hodgeman.co.nz/blog/2010/10/04/new-look-for-regent-of-rotorua/</link>
		<comments>http://hodgeman.co.nz/blog/2010/10/04/new-look-for-regent-of-rotorua/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 09:16:32 +0000</pubDate>
		<dc:creator>hodgeman</dc:creator>
				<category><![CDATA[Revamp]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Refresh]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.hodgeman.co.nz/?p=942</guid>
		<description><![CDATA[We&#8217;ve recently completed a second iteration of the WordPress for the Regent of Rotorua website. Version 2 has a vertical menu and large, gorgeous images to help showcase the new.. <a href="http://hodgeman.co.nz/blog/2010/10/04/new-look-for-regent-of-rotorua/">read more</a>]]></description>
				<content:encoded><![CDATA[<p>We&#8217;ve recently completed a second iteration of the WordPress for the Regent of Rotorua website.</p>
<p>Version 2 has a vertical menu and large, gorgeous images to help showcase the new additions to the business. Some of which include new glamorous designer rooms, outdoor heated swimming pool, stunning restaurant and wine &#038; cocktail bar.</p>
<p>The height of the design now expands to show all the content without having an internal scroll bar.</p>
<p><span id="more-942"></span></p>
<p><strong>Version 1</strong><br />
<img src="/images/portfolio_web_regent_lg.jpg?v=2" alt="" class="reflect" /></p>
<p><strong>Version 2</strong><br />
<img src="/images/portfolio_web_regent2_lg.jpg" alt="" class="reflect" /></p>
<p><a href="http://www.regentrotorua.co.nz/" class="link">See the new site live here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hodgeman.co.nz/blog/2010/10/04/new-look-for-regent-of-rotorua/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: Display subpages using WordPress shortcode</title>
		<link>http://hodgeman.co.nz/blog/2010/07/13/how-to-display-subpages-using-wordpress-shortcode/</link>
		<comments>http://hodgeman.co.nz/blog/2010/07/13/how-to-display-subpages-using-wordpress-shortcode/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 22:59:59 +0000</pubDate>
		<dc:creator>hodgeman</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Shortcode]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[Trick]]></category>

		<guid isPermaLink="false">http://www.hodgeman.co.nz/?p=832</guid>
		<description><![CDATA[I wanted a way to quickly display a list of all the subpages (children) for any given page within a WordPress site easily and effectively using the least amount of.. <a href="http://hodgeman.co.nz/blog/2010/07/13/how-to-display-subpages-using-wordpress-shortcode/">read more</a>]]></description>
				<content:encoded><![CDATA[<p>I wanted a way to quickly display a list of all the subpages (children) for any given page within a WordPress site easily and effectively using the least amount of code.</p>
<p>By adding the following code into your themes <strong>functions.php</strong> file and simply adding the shortcode <strong>[listChildren]</strong> into the page content where you want your list of subpages displayed, you&#8217;ll have all the children pages for that particular page shown in correct hierarchy which is another great navigational aid for your website visitors.<span id="more-832"></span></p>
<p>[code lang="PHP"]<br />
&lt;?PHP</p>
<p>add_shortcode('listChildren', 'wp_list_children');</p>
<p>function wp_list_children(){<br />
	global $post;<br />
	$children = wp_list_pages('title_li=&amp;child_of='.$post-&gt;ID.'&amp;echo=0');<br />
	if($children)<br />
		return &quot;&lt;p&gt;&lt;strong&gt;Browse our options&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&quot;.$children.&quot;&lt;/ul&gt;&quot;;<br />
}</p>
<p>?&gt;<br />
[/code]</p>
<p>By utilising the built-in WordPress function wp_list_pages, you can quickly show a list of all the sub pages for any particular page within your site.</p>
<p><strong>NOTE</strong>: To make sure the list is displayed where you place the shortcode you need to <strong>return</strong> the results and not <em>print</em> or <em>echo</em> it within the function itself otherwise it will always appear at the top of the page.</p>
]]></content:encoded>
			<wfw:commentRss>http://hodgeman.co.nz/blog/2010/07/13/how-to-display-subpages-using-wordpress-shortcode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: Display sitemap page in WordPress with shortcode</title>
		<link>http://hodgeman.co.nz/blog/2010/07/01/how-to-display-sitemap-page-in-wordpress-with-shortcode/</link>
		<comments>http://hodgeman.co.nz/blog/2010/07/01/how-to-display-sitemap-page-in-wordpress-with-shortcode/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 12:05:48 +0000</pubDate>
		<dc:creator>hodgeman</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Shortcode]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[Trick]]></category>

		<guid isPermaLink="false">http://www.hodgeman.co.nz/?p=816</guid>
		<description><![CDATA[I wanted a way to quickly display all the pages within a WordPress site easily and effectively using the least amount of code. By adding the following code into your.. <a href="http://hodgeman.co.nz/blog/2010/07/01/how-to-display-sitemap-page-in-wordpress-with-shortcode/">read more</a>]]></description>
				<content:encoded><![CDATA[<p>I wanted a way to quickly display all the pages within a WordPress site easily and effectively using the least amount of code.</p>
<p>By adding the following code into your themes <strong>functions.php</strong> file and simply adding nothing but the shortcode <strong>[sitemap]</strong> into the page content, you&#8217;ll have all your pages shown in correct hierarchy on a single page which is a great additional navigation page that I know a lot of people use.<span id="more-816"></span></p>
<p>[code lang="PHP"]<br />
&lt;?PHP</p>
<p>add_shortcode('sitemap', 'wp_sitemap_page');</p>
<p>function wp_sitemap_page(){<br />
	return &quot;&lt;ul&gt;&quot;.wp_list_pages('title_li=&amp;echo=0').&quot;&lt;/ul&gt;&quot;;<br />
}</p>
<p>?&gt;<br />
[/code]</p>
<p>By utilising the built-in WordPress function wp_list_pages, you can quickly show a list of all the pages within your site.</p>
]]></content:encoded>
			<wfw:commentRss>http://hodgeman.co.nz/blog/2010/07/01/how-to-display-sitemap-page-in-wordpress-with-shortcode/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
