<?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>DemiLane &#187; Wordpress</title>
	<atom:link href="http://demilane.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://demilane.com</link>
	<description>Pages of Rogelio Calamaya</description>
	<lastBuildDate>Sun, 20 Jun 2010 19:20:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Doodle and Some Changes</title>
		<link>http://demilane.com/doodle-and-some-changes/</link>
		<comments>http://demilane.com/doodle-and-some-changes/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 13:34:15 +0000</pubDate>
		<dc:creator>Rogelio</dc:creator>
				<category><![CDATA[Doodle]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[blah]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[working]]></category>

		<guid isPermaLink="false">http://demilane.com/?p=936</guid>
		<description><![CDATA[Wow, Busy-busy again in these past days, works and tons of procrastinations. Procrastinating isn&#8217;t so bad though, well for me sometimes it trigger itself, so you can procrastinate later. Yeah. This post should have been finished 3 weeks ago, thanks to that. Now, presenting Gluttony, my first doodle ever uploaded in the on my blog. ]]></description>
			<content:encoded><![CDATA[<p><a href="http://demilane.com/wp-content/uploads/2009/10/gluttony.jpg"><img src="http://demilane.com/wp-content/uploads/2009/10/gluttony-260x300.jpg" alt="gluttony" title="gluttony" width="260" height="300" class="alignleft size-medium wp-image-941" /></a>Wow, Busy-busy again in these past days, works and tons of procrastinations. Procrastinating isn&#8217;t so bad though, well for me sometimes it trigger itself, so you can procrastinate later. Yeah. This post should have been finished 3 weeks ago, thanks to that.</p>
<p>Now, presenting Gluttony, my first doodle ever uploaded in the on my blog. This is my version of Gluttony of the <a href="http://en.wikipedia.org/wiki/Seven_deadly_sins">Seven Deadly Sins</a> from the Christian faith. It was not long ago that I want to create a set of Illustration for the Seven Sins, something like a project and now this is my first step. It may change though. This was made when I&#8217;m attending our class in Speech Communication 3, I was supposed to make my speech but instead I doodled and made this.</p>
<p>Aside from that, I&#8217;ve changed the theme of this blog. I edited some parts of it, the original theme is from <a href="http://www.mono-lab.net/">Mono-Lab</a>, the theme is called <strong>Piano Black</strong> *<em>thanks for the theme</em>*. I found their link in <a href="http://aunexamor.net/entula/">Aelyn&#8217;s blog</a> which is also has a great theme. I&#8217;ve also added some links, where you can find/contact me in other social networks. <a href="http://www.komodomedia.com/blog/2009/06/social-network-icon-pack/">Social Media Icons</a> are from <a href="http://www.komodomedia.com/">Komodo Media</a> *<em>thanks for making and sharing this cool icons</em>*. And I also removed all of the ads in the site, it&#8217;s not working and nobody clicks them anyway or maybe I just don&#8217;t know where to place them.</p>
<div class="clear"></div>


<p>Related posts:<ol><li><a href='http://demilane.com/plurk-theme-plurk-you/' rel='bookmark' title='Permanent Link: Plurk Theme + Plurk You!'>Plurk Theme + Plurk You!</a></li>
<li><a href='http://demilane.com/sudden-change-of-theme-wordpress-2-8/' rel='bookmark' title='Permanent Link: Sudden Change of Theme: WordPress 2.8'>Sudden Change of Theme: WordPress 2.8</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://demilane.com/doodle-and-some-changes/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Sudden Change of Theme: WordPress 2.8</title>
		<link>http://demilane.com/sudden-change-of-theme-wordpress-2-8/</link>
		<comments>http://demilane.com/sudden-change-of-theme-wordpress-2-8/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 08:46:20 +0000</pubDate>
		<dc:creator>Rogelio</dc:creator>
				<category><![CDATA[Daily Me]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.demilane.com/?p=540</guid>
		<description><![CDATA[A sudden change of theme, huh? Well, I woke up and checked my blog and I&#8217;m happy that WordPress 2.8 was being released today. After the updates my latest k2 theme messed up, I wonder if there are conflicts in the JS script loader of k2 and the updated version of wordpress. I haven&#8217;t any ]]></description>
			<content:encoded><![CDATA[<p>A sudden change of theme, huh? Well, I woke up and checked my blog and I&#8217;m happy that <a href="http://codex.wordpress.org/Version_2.8">WordPress 2.8</a> was being released today. After the updates my latest k2 theme messed up,  I wonder if there are conflicts in the JS script loader of k2 and the updated version of wordpress. I haven&#8217;t any theme for my blog yet so I ended up using my <a href="http://demilane.com/8-arm-creature-wp-theme/">custom theme</a>. Well, it&#8217;s okay. I wanted to change my theme lately but I could find the one that I want. </p>
<p>Anyways, thanks WordPress Team for the updates. As always, great work! Check out the highlights and features in WordPress 2.8 <a href="http://codex.wordpress.org/Version_2.8">here</a>.</p>


<p>Related posts:<ol><li><a href='http://demilane.com/parallel-will-no-longer-exist/' rel='bookmark' title='Permanent Link: Parallel Will No Longer Exist'>Parallel Will No Longer Exist</a></li>
<li><a href='http://demilane.com/8-arm-creature-wp-theme/' rel='bookmark' title='Permanent Link: 8 Arm Creature WP-Theme'>8 Arm Creature WP-Theme</a></li>
<li><a href='http://demilane.com/tabbed-navigation-in-wordpress/' rel='bookmark' title='Permanent Link: Tabbed Navigation in WordPress'>Tabbed Navigation in WordPress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://demilane.com/sudden-change-of-theme-wordpress-2-8/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Tabbed Navigation in WordPress</title>
		<link>http://demilane.com/tabbed-navigation-in-wordpress/</link>
		<comments>http://demilane.com/tabbed-navigation-in-wordpress/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 08:18:35 +0000</pubDate>
		<dc:creator>Rogelio</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://blog.demilane.com/?p=455</guid>
		<description><![CDATA[I encountered this problem when I&#8217;m developing my first wordpress theme, a very simple problem and I want to share this tutorial to all of you. Hopefully it will give you an basic idea on how to make a tabbed navigation in you wordpress theme. Now, in our template file where our navigation is located(in ]]></description>
			<content:encoded><![CDATA[<p>I encountered this problem when I&#8217;m developing my first wordpress theme, a very simple problem and I want to share this tutorial to all of you. Hopefully it will give you an basic idea on how to make a tabbed navigation in you wordpress theme.</p>
<p>Now, in our template file where our navigation is located(<em>in my case, header.php</em>). We will paste the code below:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>24
25
26
27
28
29
30
31
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">&lt;ul id=&quot;nav&quot;&gt;
  &lt;li <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span>is_home<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> ? <span style="color: #0000ff;">'class=&quot;current_page_item&quot;'</span> <span style="color: #339933;">:</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>&gt;
    &lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; title=&quot;Home&quot;&gt;Home&lt;/a&gt;
  &lt;/li&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> 
     wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sort_column=menu_order&amp;title_li=&amp;depth=-1'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ul&gt;</pre></td></tr></table></div>

<p>The style:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#nav</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">list-style-type</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#nav</span> li <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span> <span style="color: #933;">12px</span> arial<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#nav</span> li<span style="color: #6666ff;">.current_page_item</span> a<span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#60a013</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#nav</span> li a<span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#nav</span> li a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#60a013</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>The code above will give the result, a simple tabbed navigation with an <code>:active</code> and <code>:hover</code> effect:</p>
<p><img class="size-full wp-image-457 aligncenter" title="wp-tabbed-final" src="http://demilane.com/wp-content/uploads/2009/06/wp-tabbed-final.jpg" alt="wp-tabbed-final" width="378" height="78" /></p>
<p>Notice that we add a &#8220;Home&#8221; link before we call the pages, to determine if the additional link is active we use the conditional tag <code>is_home()</code>. The <code>is_home()</code> returns true when the main blog page is currently being displayed, in our code if it&#8217;s true then it well print the <code>class="current_page_item"</code> else it will print nothing. More information about the conditional tags can be found <strong><a href="http://codex.wordpress.org/Conditional_Tags">here</a></strong>.</p>
<p>And we display the pages link using the <code>wp_list_pages()</code> template tag. We can customize the output of our links by using the parameters <code>sort_column=menu_order</code>, <code>title_li=''</code> and <code>depth=-1</code>.</p>
<p>The <code>sort_column=menu_order</code> can sort the list of pages in a different way. In our code we will sort the pages by Page Order. Page order can be set by user in the pages administrative panel. Next is <code>title_li=''</code>, this will not display headings and the list will not be wrapped with <code>&lt;ul&gt;...&lt;/ul&gt;</code>. And last <code>depth=-1</code>, will display the sub-pages as flat, the same as the other pages with no indent form. More information about the <code>wp_list_pages()</code> template tag can be found <strong><a href="http://codex.wordpress.org/Template_Tags/wp_list_pages">here</a></strong></p>


<p>Related posts:<ol><li><a href='http://demilane.com/sudden-change-of-theme-wordpress-2-8/' rel='bookmark' title='Permanent Link: Sudden Change of Theme: WordPress 2.8'>Sudden Change of Theme: WordPress 2.8</a></li>
<li><a href='http://demilane.com/twit-with-php/' rel='bookmark' title='Permanent Link: Twit with PHP[updated]'>Twit with PHP[updated]</a></li>
<li><a href='http://demilane.com/8-arm-creature-wp-theme/' rel='bookmark' title='Permanent Link: 8 Arm Creature WP-Theme'>8 Arm Creature WP-Theme</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://demilane.com/tabbed-navigation-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
