<?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>xambr::blog &#187; blogging</title>
	<atom:link href="http://blog.xambr.com/tag/blogging/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.xambr.com</link>
	<description>crafting my thoughts</description>
	<lastBuildDate>Tue, 20 Jul 2010 18:57:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>WP Framework</title>
		<link>http://blog.xambr.com/2009/02/28/wp-framework/</link>
		<comments>http://blog.xambr.com/2009/02/28/wp-framework/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 22:39:16 +0000</pubDate>
		<dc:creator>max.rb</dc:creator>
				<category><![CDATA[Discoveries]]></category>
		<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://blog.xambr.com/?p=36</guid>
		<description><![CDATA[Here is the first peak into that box of stones I mentioned on the about page. WP Framework is a blank Word Press(WP) theme that you can use to easily setup a your own theme for your WP blog. When I started this blog I debated whether or not I wanted to spend the time [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the first peak into that <a href="http://blog.xambr.com/?page_id=4?#stone-box">box of stones</a> I mentioned on the <a href="http://blog.xambr.com/?page_id=4?">about</a> page.</p>
<p><a href="http://wpframework.com/">WP Framework</a> is a blank <a href="http://wordpress.org/">Word Press</a>(WP) theme that you can use to easily setup a your own theme for your <a href="http://wordpress.org/">WP</a> blog. When I started this blog I debated whether or not I wanted to spend the time putting together my own theme – do I want to spend time CSS-ing or writing? In the end I figured to give it a shot thinking that at the very least I would get a little more familiar with this blogging software.</p>
<p>I started by fiddling around with the default <a href="http://wordpress.org/">WP</a> theme but found the results to similar to a well dressed plate having its mashed potatoes with gravy swapped out for rice – things were looking messy. So I googled around a bit and came across the concept of <a href="http://codex.wordpress.org/Theme_Frameworks">WP &#8220;theme frameworks&#8221;</a>. These are basically pre-baked vanilla cakes ready for their icing to be added.</p>
<p>After downloading a few and taking a very quick look around I decided to give <a href="http://wpframework.com/">WP Framework</a> a shot. It seemed to provide the most functional starting position without getting in the way. So a few pleasent hours later here I am with my custom theme. Thanks <a href="http://wpframework.com/">WP Framework</a>.</p>
<p>One thing I did trip over (this isn&#8217;t directly related to <a href="http://wpframework.com/">WP Framework</a> itself)  was the ability to add a &#8220;home&#8221; link to the navigation bar at the top of the page. I confess to not having read any of the <a href="http://codex.wordpress.org/Main_Page">WP</a> or <a href="http://wpframework.com/">WP Framework</a> documentation so I cannot say whether or not it mentions how to do this (my guess is that it does). But for those of you who, like me, tend to skip the docs here is the solution (at least for <a href="http://wordpress.org/">WP 2.7</a>):</p>
<p>There is a PHP method <code>wp_page_menu( $args = array() )</code> in <code>wp-includes/post-template.php</code> which is used to create the navigation links. This method checks the <code>$args</code> array for an option called <code>show_home</code>. If specified it uses this option&#8217;s value for the text of the home page link and if it is not specified (the default) no home page link is displayed.</p>
<p>For this blog I&#8217;m calling that method using:</p>
<pre class="code-block">wp_page_menu( array('show_home'=&gt;'Blog', 'menu_class'=&gt;'nav') );</pre>
<p>I hope this first peak into my box has been useful to you.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xambr.com/2009/02/28/wp-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
