<?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>Hardian Nazief &#187; geeks</title>
	<atom:link href="http://hardiannazief.com/category/geeks/feed/" rel="self" type="application/rss+xml" />
	<link>http://hardiannazief.com</link>
	<description>Food, Walk Around Jakarta, WordPress and Rants on Random Geekiness</description>
	<lastBuildDate>Sun, 20 Feb 2011 14:25:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>YouWave Android: the easy way to run Android on your PC</title>
		<link>http://hardiannazief.com/02/youwave-android-the-easy-way-to-run-android-on-your-pc/</link>
		<comments>http://hardiannazief.com/02/youwave-android-the-easy-way-to-run-android-on-your-pc/#comments</comments>
		<pubDate>Thu, 03 Feb 2011 15:58:18 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=1164</guid>
		<description><![CDATA[<p>While looking for a demo of Angry Birds, I notice that Angry Birds for Android are free but alas, I don’t have an Android phone yet. So in the spirit [...]]]></description>
			<content:encoded><![CDATA[<p>While looking for a demo of Angry Birds, I notice that Angry Birds for Android are free but alas, I don’t have an Android phone yet. So in the spirit of getting free stuff :) I try to install Android OS on my PC. </p>
<p>A lot of tutorial teaches how to install Android on PC but many of them are for developer, take a lot of numerous steps, needs Java to runs or even using live CD. This means, the choice is not for ordinary users who just want to try Android app. That is where YouWave Android came along. The process is brief; you just download and install the software.</p>
<p>To install YouWave Android, first you download the software at <a href="http://youwave.com/">YouWave Android site</a> (currently only for Windows XP/Vista/7)</p>
<p></p>
<p>Follow through the installation step and you’re done! To use it just click on the icon in the desktop</p>
<p></p>
<p>It came pre-installed with a couple of apps, a news aggregate app Newspaper, tower defense game Robo Defense free, puzzle like rush hours, Othello, jewels and Advanced Task Killer to easily kill running app.</p>
<p></p>
<p>To install Android app are easy, just download from your browser and put it in the default apps directory “&lt;user home directory&gt; /youwave/Android apps/” or any directory of your choice.</p>
<p></p>
<p>No direct install from Android market yet so you have to install it manually, there are many places you can download Android app, just Google it using “Android apps” keyword, or you can visit <a href="http://slideme.org/">slideme.org</a> or <a href="http://www.getjar.com/ ">getjar.com</a> to download the apps, Android apps use .apk for its file extensions.</p>
<p>The minimum requirements for YouWave Android are Intel 1.6GHz CPU or its equivalent, with 1G of RAM and 500MBytes of free disk space. Internet connections are needed depends on what the apps you are using.</p>
<p><em>Pros:</em></p>
<ul>
<li>It is easy to install the software</li>
<li>And it is easy to install Android apps; just download it on the default or preferred apps folder</li>
<li>Can try a huge library of Android apps</li>
<li>It is fast.</li>
<li>Have screen rotations features but you have to click it manually</li>
</ul>
<p><em>Cons:</em></p>
<ul>
<li>Ads, there is a lots of ads in it, but there is a work way around, just block any connection to the internet. Usually there is a connection each time the software start, you can block those connections using firewall or just turn off the internet connection.</li>
<li>Huge resource use, it means it decreases laptop battery fast, my laptop battery usually lasted around 2-3 hours before it needs to be plugged in, with this software, my laptop only lasted 1 hour or so while playing tower of defense game (<a href="http://slideme.org/en/application/xeno-tactic-ii-lite">Xeno Tactic II Lite</a>) (tested on i5).</li>
<li>Huge resolutions, this is usually good news but for wide monitor like my laptop and LCD (1366 x 768 pixels) it is bad news, because it uses a really high resolutions for its height and no resize options, that is why I couldn’t took  a good screenshot of the software.</li>
<li>No access to Android market yet but you can download apps</li>
<li>The means to use the software only trough mouse and keyboards, so no microphone, camera, orientation sensor, SD card support and accelerometer in here yet (tested version 1.31).</li>
<li>Still can’t play Angry Birds, because it need ARM Code processor (tested on Intel i5) :(</li>
</ul>
<p>Check out YouWave Android <a href="http://youwave.com/">here</a><br /><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/02/6-flash-based-game-similar-to-angry-birds/" rel="bookmark" title="February 20, 2011">6 Flash Based Game Similar to Angry Birds</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/10/to-know-wether-u-need-to-get-a-life-or-not/" rel="bookmark" title="October 25, 2008">To Know Wether U Need To Get a Life or Not</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/05/firefox-3-download-day/" rel="bookmark" title="May 29, 2008">Firefox 3 Download Day!!</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/01/im-waiittiiinnggg/" rel="bookmark" title="January 24, 2008">i&#8217;m waiittiiinnggg</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/01/what-the-f/" rel="bookmark" title="January 17, 2008">WHAT THE F***!!!!</a></em></li>
</ul>
<p><!-- Similar Posts took 4.421 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/02/youwave-android-the-easy-way-to-run-android-on-your-pc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Awesome Extensions for Your Firebug</title>
		<link>http://hardiannazief.com/12/awesome-extensions-for-your-firebug/</link>
		<comments>http://hardiannazief.com/12/awesome-extensions-for-your-firebug/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 01:21:11 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=1157</guid>
		<description><![CDATA[<p></p>
<p>Firebug, an add-on for Firefox browser, is an awesome tool for web development. It can inspect and tweak HTML page and CSS in real-time, so you can see temporary changes [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>Firebug, an add-on for Firefox browser, is an awesome tool for web development. It can inspect and tweak HTML page and CSS in real-time, so you can see temporary changes that are made to the page in that moment without refreshing the page. It also has an advanced JavaScript debugger; you can see the full Firebug features<a href="http://getFirebug.com/whatisFirebug"> here</a> </p>
<p>This article is about further extensions for Firebug, which can extend Firebug from its basic feature for web development by installing additional extensions (that is also a Firefox add-on). If you’re still new in what is Firebug and how to use it, there is an extensive tutorial here at Makeuseof about <a href="http://www.makeuseof.com/tag/amateurs-guide-to-customizing-website-design-with-Firebug/]. ">“Amateur’s Guide To Customizing Website Design With Firebug”</a>.</p>
<p>Here are a couple of its popular extensions, which I use in day to day basis:</p>
<h2>YSlow</h2>
<p>Among other extensions for Firebug, the most popular one, are developed by Yahoo! inc Company. YSlow analyzes web pages and why they&#8217;re slow based on Yahoo!&#8217;s rules for high performance web sites. The rules are</p>
<ol>
<li>Minimize HTTP Requests</li>
<li>Use a Content Delivery Network</li>
<li>Add an Expires or a Cache-Control Header</li>
<li>Gzip Components</li>
<li>Put StyleSheets at the Top</li>
<li>Put Scripts at the Bottom</li>
<li>Avoid CSS Expressions</li>
<li>Make JavaScript and CSS External</li>
<li>Reduce DNS Lookups</li>
<li>Minify JavaScript and CSS</li>
<li>Avoid Redirects</li>
<li>Remove Duplicate Scripts</li>
<li>Configure ETags</li>
<li>Make AJAX Cacheable</li>
<li>Use GET for AJAX Requests</li>
<li>Reduce the Number of DOM Elements</li>
<li>No 404s</li>
<li>Reduce Cookie Size</li>
<li>Use Cookie-Free Domains for Components</li>
<li>Avoid Filters</li>
<li>Do Not Scale Images in HTML</li>
<li>Make favicon.ico Small and Cacheable</li>
</ol>
<p>It ranked (like A, B, C, D) your website for performance based on three predefined rulesets: </p>
<ol>
<li>YSlow(V2) &#8211; this ruleset contains the 22 rules listed above.</li>
<li>Classic(V1)- this ruleset contains the first 13 rules listed above.</li>
<li>Small Site or Blog- this ruleset contains 14 rules that are applicable to small web sites or blogs.</li>
</ol>
<p></p>
<p>Note, the tools that are available in YSlow are also really useful, like JSlint a JavaScript code quality tools; YUI CSS compressor, Yahoo own tools that minifies CSS and including one of my favorite image compressors, Smush.it. It compresses image size so it became smaller without any loss of quality and thus makes the web load faster because of it smaller size.<br />
You can install the YSlow extensions <a href="https://addons.mozilla.org/en-US/firefox/addon/5369/?src=collection&#038;collection_id=38e04bf2-accc-dcbb-37b8-b30a96dc0fa1">here</a> and the full guide for the extensions <a href="http://developer.yahoo.com/yslow/help/">here </a>.</p>
<h2>SenSEO</h2>
<p>This extension analyzes web pages and tells you how good they fulfill on-page Search Engine Optimization criteria. It gives you</p>
<ul>
<li>Overview of SEO-important web page components</li>
<li>Analysis of on-page-SEO-criteria</li>
<li>In the newest version SenSEO (1.4.3 in the time of writing) checks<br />
Correct usage of Document-Title, Meta-Description and Meta-Keywords</li>
<li>Headlines, Domain and URL-Path</li>
<li>Other general content-criteria</li>
</ul>
<p></p>
<p>As you can see in the screenshot, it shows all of the component that are needed for search engine optimization, from h1 to h6, meta description and keyword, the alt attribute in images and it even show how the search engine read the website trough visible content.<br />
You can install the extensions from <a href="https://addons.mozilla.org/en-US/firefox/addon/9403/?src=collection&#038;collection_id=38e04bf2-accc-dcbb-37b8-b30a96dc0fa1">here</a>.</p>
<p>There are others popular extensions like Flashbug (displays all the running .SWF file trace output), FireQuery (plugin for jQuery development), you can see it at “<a href="https://addons.mozilla.org/en-US/firefox/collections/ashai/Firebug-extensions/">Firebug Extensions add-on page</a>”, The extensions is ranked by its popularity and the complete list is in the official<a href="http://getFirebug.com/wiki/index.php/Firebug_Extensions"> “wiki  for list of all Firebug extensions.”</a>.</p>
<p><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/10/what-do-u-do-if-u-dont-have-sense-of-art-in-designing-a-website/" rel="bookmark" title="October 22, 2007">What do u do if u don&#8217;t have sense of art in designing a website</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/08/miabebo-shop-nursing-covers-diaper-bags/" rel="bookmark" title="August 24, 2009">Miabebo Shop: Nursing Covers &#038; Diaper Bags</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/12/google-hack-on-document/" rel="bookmark" title="December 12, 2008">Google Hack on Document</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/01/toko-dephe-site-launch/" rel="bookmark" title="January 20, 2009">Toko Dephe Site Launch</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/02/google-hack-query-summary-yes-another-one/" rel="bookmark" title="February 5, 2007">Google hack query Summary (yes, another one&#8230; )</a></em></li>
</ul>
<p><!-- Similar Posts took 4.606 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/12/awesome-extensions-for-your-firebug/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Quick Brown Fox Jumps Over The Lazy Dog</title>
		<link>http://hardiannazief.com/02/the-quick-brown-fox-jumps-over-the-lazy-dog/</link>
		<comments>http://hardiannazief.com/02/the-quick-brown-fox-jumps-over-the-lazy-dog/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 00:08:52 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[Rambling Story]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=1122</guid>
		<description><![CDATA[<p></p>
<p>in case you&#8217;ve missed, The quick brown fox jumps over the lazy dog, no he really does, literally jump over that darn it lazy dogs! :D
here&#8217;s the video</p>
<p></p>
<p>Pic by GL.ANDIS
via [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>in case you&#8217;ve missed, The quick brown fox jumps over the lazy dog, no he really does, literally jump over that darn it lazy dogs! :D<br />
here&#8217;s the video</p>
<p><object width="320" height="265"><param name="movie" value="http://www.youtube.com/v/00E_LVo_aTo&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/00E_LVo_aTo&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="265"></embed></object></p>
<p><em>Pic by <a href="http://www.flickr.com/photos/glandis/">GL.ANDIS</a></em><br />
<em>via <a href="http://attuworld.com/just-attu/the-quick-brown-fox-jumps-over-the-lazy-dog.html">Attu</a></em><br /><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/08/learn-how-to-iron-ultimate-guide/" rel="bookmark" title="August 17, 2007">Learn how to iron [ultimate guide]</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/12/video-tilt-shift-monster-truck-rallye/" rel="bookmark" title="December 2, 2008">Video: Tilt-Shift Monster Truck Rallye</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/06/a-very-good-reason-to-upgrade-your-pc/" rel="bookmark" title="June 30, 2008">A Very Good Reason to Upgrade Your PC</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/11/gecko-pimp/" rel="bookmark" title="November 28, 2008">Gecko Pimp</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/11/numa-numa/" rel="bookmark" title="November 7, 2008">Numa Numa!</a></em></li>
</ul>
<p><!-- Similar Posts took 3.973 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/02/the-quick-brown-fox-jumps-over-the-lazy-dog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create Thumbnail From Offsite Image Using Timthumb Beta</title>
		<link>http://hardiannazief.com/12/create-thumbnail-from-offsite-image-using-timthumb-beta/</link>
		<comments>http://hardiannazief.com/12/create-thumbnail-from-offsite-image-using-timthumb-beta/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 18:19:30 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[thematic]]></category>
		<category><![CDATA[thematic child theme]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=1109</guid>
		<description><![CDATA[<p>
by petervanallen</p>
<p>I host most of my images in Picasa and Flickr, for along time i couldn&#8217;t use the native feature in WordPress to create custom thumbnail that i wanted, i [...]]]></description>
			<content:encoded><![CDATA[<p><br />
by <a href="http://www.flickr.com/photos/petervanallen/">petervanallen</a></p>
<p>I host most of my images in Picasa and Flickr, for along time i couldn&#8217;t use the native feature in WordPress to create custom thumbnail that i wanted, i could upload it and use custom fields, but it would be tediously boring to do that.</p>
<p>A couple of month ago a message from heaven came by to fulfilled my wishes and whisper it to Ben Gillbanks ear, the developer of timthumb. So thus came the timthumb beta for offsite image. After downloading it i tried it, my wishes fulfilled and it looks awesome! Oh Joy</p>
<p><object width="501" height="342"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2782495&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2782495&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="501" height="342"></embed></object>
<p><a href="http://vimeo.com/2782495">Happy! Happy! Joy! Joy!</a> from <a href="http://vimeo.com/user1021817">psherman420</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>This hack is similar with the one that i use on this website and this was a follow up from my previous post about <a href="http://hardiannazief.com/12/create-custom-posts-layout-in-home-page-thematic-child-theme/">how to create custom index post layout</a>, but the method could be applicable for other WordPress themes.</p>
<p>Here is the screen shot on how the thumbnail will look like on the home page (i&#8217;m using thematicsamplechildtheme in the Thematic folder)</p>
<p><a href="http://lh6.ggpht.com/_PmgKlVMMcic/SzL6KARPkgI/AAAAAAAACRc/sw90P3tcLHg/s800/Hardian%20Nazief%20-%20Just%20another%20WordPress%20weblog_full.png"></a></p>
<p>First we need to download timthumb beta at Binary Moon in <a href="http://www.binarymoon.co.uk/2009/07/timthumb-beta-test/">here</a>, put it on your child theme folder then create a folder called temp &#038; cache (writeable 777)</p>
<p>Here are the code that we are going to use</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> remove_index_loop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  remove_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thematic_indexloop'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thematic_index_loop'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'init'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'remove_index_loop'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> catch_that_image<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">,</span> <span style="color: #000088;">$posts</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$first_img</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">ob_start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">ob_end_clean</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_match_all</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/&lt;img.+src=[\'&quot;]([^\'&quot;]+)[\'&quot;].*&gt;/i'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_content</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$first_img</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$matches</span> <span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$first_img</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">//Defines a default image</span>
    <span style="color: #000088;">$first_img</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;images/default.gif&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #000088;">$first_img</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> custom_index_loop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">/* Count the number of posts so we can insert a widgetized area */</span> <span style="color: #000088;">$count</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
      <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span> have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
        <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$counter</span><span style="color: #339933;">++;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>    
          &lt;div class=&quot;column <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: #000088;">$counter</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'one'</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'two'</span><span style="color: #339933;">;</span> <span style="color: #000088;">$counter</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
            &lt;div class=&quot;clear-fix&quot;&gt;
              &lt;div id=&quot;post-<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> thematic_post_class<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
                <span style="color: #000000; font-weight: bold;">&lt;?php</span> thematic_postheader<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: #b1b100;">if</span><span style="color: #009900;">&#40;</span>catch_that_image<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: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;a href=&quot;'</span> <span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; title=&quot;'</span> <span style="color: #339933;">.</span>get_the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;&lt;img src=&quot;'</span> <span style="color: #339933;">.</span>get_stylesheet_directory_uri<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'/timthumb.php?src='</span> <span style="color: #339933;">.</span><span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span>catch_that_image<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: #0000ff;">'&amp;amp;h=100&amp;amp;w=240&amp;amp;zc=1&amp;amp;q=90&quot;&gt;&lt;/a&gt;'</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                    &lt;div class=&quot;entry-content&quot;&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: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                    <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_link_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'before=&lt;div class=&quot;page-link&quot;&gt;'</span> <span style="color: #339933;">.</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Pages:'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thematic'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&amp;after=&lt;/div&gt;'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                &lt;/div&gt;
            <span style="color: #000000; font-weight: bold;">&lt;?php</span> thematic_postfooter<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;/div&gt;&lt;!-- .post --&gt;
      &lt;/div&gt;&lt;!-- .clear-fix --&gt;
   &lt;/div&gt;&lt;!-- .column --&gt;
   <span style="color: #000000; font-weight: bold;">&lt;?php</span> comments_template<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$count</span><span style="color: #339933;">==</span><span style="color: #000088;">$thm_insert_position</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> get_sidebar<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'index-insert'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span>
    <span style="color: #000088;">$count</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$count</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thematic_indexloop'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'custom_index_loop'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>The code below are to catch the first image on the post</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> catch_that_image<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">,</span> <span style="color: #000088;">$posts</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$first_img</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">ob_start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">ob_end_clean</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_match_all</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/&lt;img.+src=[\'&quot;]([^\'&quot;]+)[\'&quot;].*&gt;/i'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_content</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$first_img</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$matches</span> <span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$first_img</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">//Defines a default image</span>
    <span style="color: #000088;">$first_img</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;images/default.gif&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #000088;">$first_img</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>i use the_excerpt for the content so there&#8217;s no image there, i&#8217;m going to try catch the first image from post so i can feed it to the timthumb, this awesome function is from <a href="http://www.wprecipes.com/how-to-get-the-first-image-from-the-post-and-display-it">WPrecipes</a> Jean-Baptiste Jung.</p>
<p>after catching it, we can call it with this</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> catch_that_image<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></pre></td></tr></table></div>

<p>then i&#8217;m going to insert it to the custom index loop</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>catch_that_image<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: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;a href=&quot;'</span> <span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; title=&quot;'</span> <span style="color: #339933;">.</span>get_the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;&lt;img src=&quot;'</span> <span style="color: #339933;">.</span>get_stylesheet_directory_uri<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'/timthumb.php?src='</span> <span style="color: #339933;">.</span><span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span>catch_that_image<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: #0000ff;">'&amp;amp;h=100&amp;amp;w=240&amp;amp;zc=1&amp;amp;q=90&quot;&gt;&lt;/a&gt;'</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>change the h=100&#038;w=240 for the size as needed</p>
<p>Voila! it&#8217;s done! simple right! :)<br /><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/12/be-water-my-friend-with-thematic/" rel="bookmark" title="December 21, 2009">Be Water My Friend&#8230; With Thematic</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/12/create-custom-posts-layout-in-home-page-thematic-child-theme/" rel="bookmark" title="December 23, 2009">Create Custom Posts Layout in Home Page (Thematic Child Theme)</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/01/toko-dephe-site-launch/" rel="bookmark" title="January 20, 2009">Toko Dephe Site Launch</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/02/learning-thematic/" rel="bookmark" title="February 7, 2009">Learning Thematic</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/12/website-new-themes/" rel="bookmark" title="December 4, 2008">Website New Themes</a></em></li>
</ul>
<p><!-- Similar Posts took 5.694 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/12/create-thumbnail-from-offsite-image-using-timthumb-beta/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Create Custom Posts Layout in Home Page (Thematic Child Theme)</title>
		<link>http://hardiannazief.com/12/create-custom-posts-layout-in-home-page-thematic-child-theme/</link>
		<comments>http://hardiannazief.com/12/create-custom-posts-layout-in-home-page-thematic-child-theme/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 07:26:51 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[thematic]]></category>
		<category><![CDATA[thematic child theme]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=1095</guid>
		<description><![CDATA[<p>As I said before in the last post, there two ways to do this, First is using page template, the other one is using Thematic hooks &#038; filter.</p>
<p>
pic by Everything [...]]]></description>
			<content:encoded><![CDATA[<p>As I said before in the <a href="http://hardiannazief.com/12/be-water-my-friend-with-thematic/">last post</a>, there two ways to do this, First is using page template, the other one is using Thematic hooks &#038; filter.</p>
<p><br />
<em>pic by <a href="http://www.flickr.com/photos/taytoy/">Everything and the rest</a></em></p>
<p>What I want to describe here is using the theme filter &#038; actions. if you&#8217;re lazy like me to read articles, download a couple of thematic child themes, see examples of filters and see the core of thematic and learning by doing.</p>
<p>After viewing the core, I notice that there are two or three files that I needed to see in adding filter for post layout. First, because I want to change the post layout in the home page so I checked function.php and search for the post or content filters. In there I was leaded to content-extensions.php (see the comment “Load custom content filters”). then I looked for thematic index loop (line 22 comment). </p>
<p>For this example i want to try to create two column of posts that will appear like this in home page, note that i&#8217;ll be using thematicsamplechildtheme (inside thematic folder) from Ian Stewart</p>
<p><a href="http://lh5.ggpht.com/_PmgKlVMMcic/SzDiNpb2VzI/AAAAAAAACRY/aDPhC2pk5Gw/s800/Hardian%20Nazief%20-%20Just%20another%20WordPress%20weblog_1261494193153.png"></a></p>
<p>here are the code for basic index posts lay-out, if you want to copy paste it, put it in your child theme function.php, I will explain more after the code</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> remove_index_loop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  remove_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thematic_indexloop'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thematic_index_loop'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'init'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'remove_index_loop'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> snippet_index_loop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
        <span style="color: #666666; font-style: italic;">/* Count the number of posts so we can insert a widgetized area */</span> <span style="color: #000088;">$count</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span> have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
            <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$counter</span><span style="color: #339933;">++;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>    
            &lt;div class=&quot;column <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: #000088;">$counter</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'one'</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'two'</span><span style="color: #339933;">;</span> <span style="color: #000088;">$counter</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
                &lt;div class=&quot;clear-fix&quot;&gt;
                    &lt;div id=&quot;post-<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> thematic_post_class<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
                        <span style="color: #000000; font-weight: bold;">&lt;?php</span> thematic_postheader<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;div class=&quot;entry-content&quot;&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: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                            <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_link_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'before=&lt;div class=&quot;page-link&quot;&gt;'</span> <span style="color: #339933;">.</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Pages:'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thematic'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&amp;after=&lt;/div&gt;'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                        &lt;/div&gt;
                            <span style="color: #000000; font-weight: bold;">&lt;?php</span> thematic_postfooter<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;/div&gt;&lt;!-- .post --&gt;
                &lt;/div&gt;&lt;!-- .clear-fix --&gt;
            &lt;/div&gt;&lt;!-- .column --&gt;
&nbsp;
                    <span style="color: #000000; font-weight: bold;">&lt;?php</span> comments_template<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$count</span><span style="color: #339933;">==</span><span style="color: #000088;">$thm_insert_position</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> get_sidebar<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'index-insert'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
        <span style="color: #000088;">$count</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$count</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thematic_indexloop'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'snippet_index_loop'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>And for the styling, you could use this</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.column</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">250px</span><span style="color: #00AA00;">;</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>float<span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.clear-fix</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span>box<span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.one</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">40px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.hentry</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.column</span> .entry-<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">245px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Lets elaborate the code first</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> remove_index_loop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  remove_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thematic_indexloop'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thematic_index_loop'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'init'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'remove_index_loop'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>The first thing that we need to create is adding the remove function for the default thematic index loop. The default (as seen in the content-extensions.php) is thematic_index_loop.</p>
<p>then we add an action to replace the loop that we move, lets called it custom_index_loop</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> custom_index_loop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
        <span style="color: #666666; font-style: italic;">/* Count the number of posts so we can insert a widgetized area */</span> <span style="color: #000088;">$count</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span> have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
            <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$counter</span><span style="color: #339933;">++;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>    
            &lt;div class=&quot;column <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: #000088;">$counter</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'one'</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'two'</span><span style="color: #339933;">;</span> <span style="color: #000088;">$counter</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
                &lt;div class=&quot;clear-fix&quot;&gt;
                    &lt;div id=&quot;post-<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> thematic_post_class<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
                        <span style="color: #000000; font-weight: bold;">&lt;?php</span> thematic_postheader<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;div class=&quot;entry-content&quot;&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: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                            <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_link_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'before=&lt;div class=&quot;page-link&quot;&gt;'</span> <span style="color: #339933;">.</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Pages:'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thematic'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&amp;after=&lt;/div&gt;'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                        &lt;/div&gt;
                            <span style="color: #000000; font-weight: bold;">&lt;?php</span> thematic_postfooter<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;/div&gt;&lt;!-- .post --&gt;
                &lt;/div&gt;&lt;!-- .clear-fix --&gt;
            &lt;/div&gt;&lt;!-- .column --&gt;
&nbsp;
                    <span style="color: #000000; font-weight: bold;">&lt;?php</span> comments_template<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$count</span><span style="color: #339933;">==</span><span style="color: #000088;">$thm_insert_position</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> get_sidebar<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'index-insert'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span>
&nbsp;
        <span style="color: #000088;">$count</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$count</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thematic_indexloop'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'custom_index_loop'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>the code</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$counter</span><span style="color: #339933;">++;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>    
    &lt;div class=&quot;column <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: #000088;">$counter</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'one'</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'two'</span><span style="color: #339933;">;</span> <span style="color: #000088;">$counter</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;</pre></td></tr></table></div>

<p>add the two column, if you want three column, just add another elseif and change the $counter then adjust the styling, but for now i will only give the styling for two column.</p>
<p>also i use the excerpt for the content</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;entry-content&quot;</span><span style="color: #339933;">&gt;</span>
   <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: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
   <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_link_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'before=&lt;div class=&quot;page-link&quot;&gt;'</span> <span style="color: #339933;">.</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Pages:'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thematic'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&amp;after=&lt;/div&gt;'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/div&gt;
?&gt;</pre></td></tr></table></div>

<p>i&#8217;m not using the default loop for thematic index (thematic_content), because it will be strange to see full content in small width column.</p>
<p>and the last one is</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thematic_indexloop'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'custom_index_loop'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>to insert the action.</p>
<p>for the styling of the column</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.column</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">250px</span><span style="color: #00AA00;">;</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>float<span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.clear-fix</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span>box<span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>overflow hidden makes every one happy :)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.one</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">40px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.hentry</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.column</span> .entry-<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">245px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>this styling is for more <a href="http://www.alistapart.com/articles/whitespace/ ">whitespace</a> in the column.</p>
<p>by all means I&#8217;m  still a noob, any and all feedback you can give would be helpful to me. please do leave a comments below.</p>
<p><strong>Update:</strong><br />
This is an old article :) i may forgot a couple of things, but if you want to make three column using the function above, you add an <code>else if</code> in the code, the final code will look like this</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">function remove_index_loop() {
  remove_action('thematic_indexloop', 'thematic_index_loop');
}
add_action('init', 'remove_index_loop');
&nbsp;
function snippet_index_loop() {
  global $post;
        /* Count the number of posts so we can insert a widgetized area */ $count = 1;
        while ( have_posts() ) : the_post() ?&gt;
            <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$counter</span><span style="color: #339933;">++;</span> <span style="color: #000088;">$clear</span><span style="color: #339933;">=</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>    
			&lt;div class=&quot;column <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: #000088;">$counter</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'one'</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$counter</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'two'</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>  <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'three'</span><span style="color: #339933;">;</span> <span style="color: #000088;">$counter</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$clear</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'&lt;div style=&quot;clear:both;height:0px;&quot;&gt;&lt;/div&gt;'</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
			    &lt;div class=&quot;clear-fix&quot;&gt;
                    &lt;div id=&quot;post-<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> thematic_post_class<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
                        <span style="color: #000000; font-weight: bold;">&lt;?php</span> thematic_postheader<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;div class=&quot;entry-content&quot;&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: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                            <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_link_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'before=&lt;div class=&quot;page-link&quot;&gt;'</span> <span style="color: #339933;">.</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Pages:'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thematic'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&amp;after=&lt;/div&gt;'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                        &lt;/div&gt;
                            <span style="color: #000000; font-weight: bold;">&lt;?php</span> thematic_postfooter<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;/div&gt;&lt;!-- .post --&gt;
                &lt;/div&gt;&lt;!-- .clear-fix --&gt;
            &lt;/div&gt;&lt;!-- .column --&gt;
&nbsp;
                    <span style="color: #000000; font-weight: bold;">&lt;?php</span> comments_template<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$count</span><span style="color: #339933;">==</span><span style="color: #000088;">$thm_insert_position</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> get_sidebar<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'index-insert'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$clear</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$count</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$count</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thematic_indexloop'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'snippet_index_loop'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>and the styling will be like this in the style.css</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.column</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">160px</span><span style="color: #00AA00;">;</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>float<span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.clear-fix</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span>box<span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.two</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.hentry</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.column</span> .entry-<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">245px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/12/be-water-my-friend-with-thematic/" rel="bookmark" title="December 21, 2009">Be Water My Friend&#8230; With Thematic</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/06/using-thematic-child-themes/" rel="bookmark" title="June 8, 2009">Using Thematic Child Themes</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/02/learning-thematic/" rel="bookmark" title="February 7, 2009">Learning Thematic</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/12/create-thumbnail-from-offsite-image-using-timthumb-beta/" rel="bookmark" title="December 27, 2009">Create Thumbnail From Offsite Image Using Timthumb Beta</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/07/puspaningrum-theme/" rel="bookmark" title="July 22, 2009">Puspaningrum Theme</a></em></li>
</ul>
<p><!-- Similar Posts took 5.595 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/12/create-custom-posts-layout-in-home-page-thematic-child-theme/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Be Water My Friend&#8230; With Thematic</title>
		<link>http://hardiannazief.com/12/be-water-my-friend-with-thematic/</link>
		<comments>http://hardiannazief.com/12/be-water-my-friend-with-thematic/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 08:34:59 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[thematic]]></category>
		<category><![CDATA[thematic child theme]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=1088</guid>
		<description><![CDATA[<p>At last i&#8217;ve re-align my website. The last time i&#8217;ve updated my site design  I&#8217;ve thought that this is it, i wont change it anymore, but after a couple [...]]]></description>
			<content:encoded><![CDATA[<p>At last i&#8217;ve re-align my website. The last time i&#8217;ve updated <a href="http://hardiannazief.com/06/using-thematic-child-themes/">my site design</a>  I&#8217;ve thought that this is it, i wont change it anymore, but after a couple of month i have some doubt, Google doesn&#8217;t give me enough love juice.</p>
<p>Google always acknowledge me on what that i put on my first page, and just that. For the time being I prefer to have more exposure for all of my posts content, yes the first purpose of the design before this (<a href="http://hardiannazief.com/07/puspaningrum-theme/">puspaningrum theme</a>) is that i want more exposure to each new post content that I&#8217;ve write, but beyond that, looks like Google bot didn&#8217;t read the sidebar recent post, because of that, there&#8217;s no other topic that appear in Google search beside the one on my home page. So I&#8217;ve decided to change it.</p>
<h2>Two choices</h2>
<p><a href="http://www.smashingmagazine.com/the-death-of-the-blog-post/">Blogzine design</a> is the one that appeal in my mind, but then i have to change the typography a lot more, every time i&#8217;ve publish a post, I don&#8217;t have a lot of time, i want to post once a week or twice a week, without the hassle designing each of it (for now).</p>
<p>Then magazine themes comes to my mind, i love the structure and the small thumbnail for each post that could make my posts look more interesting, so i decided i want to create it. The only hurdle for this kind of design is the thumbnail, if i upload my images in my server then i can automatically scan each post to create thumbnail in the home page, but alas since the beginning of my writing in this site, i use <a href="http://picasaweb.google.com/home">Google Picasa</a> &#038; <a href="http://www.flickr.com/">Flickr</a>. I believe that images is the biggest bandwidth hog for a site, so i rely on both of them to do the job. Unfortunately my favorite thumbnail maker (<a href="http://www.binarymoon.co.uk/2009/07/a-brief-history-of-timthumb/">timthumb</a>) doesn&#8217;t allowed to create thumbnail from external server images, so it discourage me to re-align the new design.</p>
<p>Two month ago after i subscribe to Binary Moon (<a href="http://www.binarymoon.co.uk/">Ben Gillbanks</a>), a friend of <a href="http://www.darrenhoyt.com/">Darren Hoyt</a> (my favorite WordpPess designer ) I notice that he release a beta version of timthumb for external server, like a message from heaven i was completely happy. That means that I could automatically creates thumbnail on the fly from major image hosting site like picasa or flickr, but back then, i was handling two client online store project (<a href="http://www.livingwithnara.com/">Living With Nara</a> &#038; <a href="http://asibune.com/">Asibune</a>) so i haven&#8217;t enough time to create it.</p>
<p>Now i have the times, for about two-three days i have finish my website re-align, why re-align? because i felt my old design is my signature, simplicity. I prefer to stick with its typography and color scheme and only re-design the content layout for the home page, category and tag page.</p>
<p><br />
by <a href="http://www.flickr.com/photos/shizenquest/">shizenquest</a></p>
<h2>The Framework</h2>
<p>Thumbnail is ready, design sketch is ready, the psd file are ready so the last thing that i want to do is choosing the framework to create a new child theme, my recent design i use <a href="http://themeshaper.com/thematic-for-wordpress">Thematic framework</a> but then i was interested about <a href="http://www.woothemes.com/2009/12/preview-the-new-wooframework-video/">WooThemes Framework</a><br />
what i love about WooThemes is that it uses 960 gs for the layout, it makes the layout designing freakishly faster than others that don&#8217;t. Thematic doesn&#8217;t use that.</p>
<p>I have some doubt in choosing WooThemes, because unlike Thematic that offer fully gpl, the WooThemes have multi-license in some of the script, some of the admin feature use cc license. so i choose Thematic instead. Beside the <a href="http://themeshaper.com/forums/">utterly helpful forum</a> , right now there are a lot of reading source about Thematic so i&#8217;m sure that it won&#8217;t be a problem for me.</p>
<p>I find many fascinating stuff designing with Thematic, i thought it&#8217;s going to be difficult because i see no child themes that uses multi-column for its layout, so i expected a rough ride in coding the themes, but fortunately i was dead wrong, it was very easy designing with Thematic :)</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/OW-cnizLDEE&#038;hl=en_US&#038;fs=1&#038;rel=0&#038;color1=0x3a3a3a&#038;color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/OW-cnizLDEE&#038;hl=en_US&#038;fs=1&#038;rel=0&#038;color1=0x3a3a3a&#038;color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>There are two methods that you can use to change the content layout in Thematic (as a child theme). First, is using a page template, like adding category.php or tag.php on your child theme folder and the other one you can add a filter or hooks in the function.php, Using page template is easy and quick but by using it you are ignoring the biggest advantage of using Thematic, the themes hook &#038; filter.</p>
<p>Most of the Thematic feature that i&#8217;ve use in changing the posts layout of this theme is using Thematic filter. There are only two files that i needed to see to learn how to create a filter, function php and  content-extention.php</p>
<p>About the code, i&#8217;ll share it in the future post about how i change the layout for the home page, the category page, the tag page, filtering post for image, get the image in post, changing the excerpt length.</p>
<p>Here are the screenshot of my old design (using Puspaningrum Theme)</p>
<p></p>
<p>The purpose of the old design is major exposure on the content on the home page and i was considering in developing blogzine for future upgrade, but as time gone by, i prefer in using a magazine layout for the moment.</p>
<p>here are the new design screen shot.</p>
<p></p>
<p>Right now, I won’t release the design to the public like Puspaningrum theme, because I want to polish it event more, like adding more admin feature, custom widget or as we all say to make it more premium :)<br /><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/12/create-custom-posts-layout-in-home-page-thematic-child-theme/" rel="bookmark" title="December 23, 2009">Create Custom Posts Layout in Home Page (Thematic Child Theme)</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/02/learning-thematic/" rel="bookmark" title="February 7, 2009">Learning Thematic</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/06/using-thematic-child-themes/" rel="bookmark" title="June 8, 2009">Using Thematic Child Themes</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/07/puspaningrum-theme/" rel="bookmark" title="July 22, 2009">Puspaningrum Theme</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/12/create-thumbnail-from-offsite-image-using-timthumb-beta/" rel="bookmark" title="December 27, 2009">Create Thumbnail From Offsite Image Using Timthumb Beta</a></em></li>
</ul>
<p><!-- Similar Posts took 5.575 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/12/be-water-my-friend-with-thematic/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>R.A. Kosasih, The Indonesian Comic Author</title>
		<link>http://hardiannazief.com/09/ra-kosasih-indonesian-comic-author/</link>
		<comments>http://hardiannazief.com/09/ra-kosasih-indonesian-comic-author/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 07:06:23 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[Rambling Story]]></category>
		<category><![CDATA[comic]]></category>
		<category><![CDATA[comic author]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=1018</guid>
		<description><![CDATA[<p></p>
<p>About two month ago my father reminded me about his collection of comic books, and i remembered it too that his collection of comics is super awesome, there are almost [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>About two month ago my father reminded me about his collection of comic books, and i remembered it too that his collection of comics is super awesome, there are almost three 2 meter high cabinet filled with classic Indonesian&#8217;s comic book. </p>
<p>But after time went by, we don&#8217;t know how to preserve comic the right way, one by one the collection is destroyed by humidity and reading bugs :( </p>
<p>it&#8217;s a sad day for me and my dad the day that mom had to throw away our comic book. Nevertheless time gone by, we tried no to regret it. </p>
<p>Later, after my dad reminded me, me &#038; my wife made a pact that we shall bought him the comic book that he had before, one by one. Since then we bought 8 comics book, it&#8217;s far from his total collection he once had before, but it&#8217;s a start.</p>
<p>The comic author that we got is <a href="http://www.goodreads.com/author/list/655179.R_A_Kosasih">R.A Kosasih</a>, and the price is significantly higher than the first time we bough it&#8217;s around Rp,400. Now the price is Rp,35,000 to 85,000 (3,5 &#8211; 8,5 USD). We have a couple of more that we want to buy but i want to postponed it. </p>
<p>The publisher of the comic book, doesn&#8217;t use royalty system for the comic, so the comic author doesn&#8217;t get any penny after it was bought (i read it somewhere in Kompas newspaper), It&#8217;s been forty years and the comic still republished, i&#8217;m quite ashamed of the system, because in my opinion RA. Kosasih has the same status like <a href="http://en.wikipedia.org/wiki/Stan_Lee">Stan Lee</a> did in US comic books .</p>
<p>Here&#8217;s a couple screen shot of the comic book cover that i bought</p>
<p></p>
<p>here&#8217;s clip of the content</p>
<p></p>
<p>the hand drawn for the comic is very classic, all of the story that brought by R.A Kosasih is around the epic of Mahabarata. He take the middle story of many version of the story trough his comic.</p>
<p>Here&#8217;s another screenshot of his comic book</p>
<p></p>
<p>and the content</p>
<p></p>
<p>honestly i haven&#8217;t read it all, in the old days i read it all but i was kid back then so i dont really understand what the story is about. </p>
<p>Right now i read half of the comic and felt this comic is LOL :D and you can&#8217;t complaint about the quality of the comic, it&#8217;s a reprinted edition from 40 years ago. it&#8217;s full of awesomeness in my childhood, maybe i&#8217;ll post the content in the future post.<br /><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/07/been-reading/" rel="bookmark" title="July 13, 2008">Been Reading</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/04/the-jakarta-4th-toys-and-comic-fair/" rel="bookmark" title="April 3, 2008">The Jakarta 4th Toys and Comic Fair</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/03/a-week-goes-by/" rel="bookmark" title="March 9, 2008">a week goes by</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/02/either-u-have-it-or-u-dont/" rel="bookmark" title="February 6, 2008">Either U Have It or U Don&#8217;t</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/11/this-month-time-waster-daily-funny-pictures/" rel="bookmark" title="November 30, 2008">This Month Time Waster: Daily Funny Pictures</a></em></li>
</ul>
<p><!-- Similar Posts took 5.420 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/09/ra-kosasih-indonesian-comic-author/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to Add Typekit to your Thematic Child Themes</title>
		<link>http://hardiannazief.com/08/how-to-add-typekit-to-your-thematic-child-themes/</link>
		<comments>http://hardiannazief.com/08/how-to-add-typekit-to-your-thematic-child-themes/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 04:58:45 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[thematic]]></category>
		<category><![CDATA[thematic child theme]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=1038</guid>
		<description><![CDATA[<p></p>
<p>@font-face at-rule is one of the most anticipated  feature in CSS3, it allow you to define custom font for your website, allowing you to upload fonts to your web [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p><a href="http://www.css3.info/preview/web-fonts-with-font-face/">@font-face</a> at-rule is one of the most anticipated  feature in CSS3, it allow you to define custom font for your website, allowing you to upload fonts to your web server and deliver the font itself to the client browser</p>
<p><a href="http://typekit.com">Typekit</a> is a web service that provide fonts &#038; the font delivery service for this use, the huge benefit of using Typekit is that you dont have to think about <a href="http://www.zeldman.com/2009/08/17/web-fonts-and-standards/">the font license</a> that you&#8217;re going to use and the bandwidth that the font are going take, Typekit will take care of that. But lets get to the point on how to use it on your thematic child themes,</p>
<p>After signing in (currently on invitation only), you&#8217;re asked about the name and the address of your website (you can use localhost for testing environment) then you&#8217;re asked to add snippet code to your html head tag like this</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://use.typekit.com/XXXX.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>try<span style="color: #009900;">&#123;</span>Typekit<span style="color: #339933;">.</span>load<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span>catch<span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span></pre></td></tr></table></div>

<p>to use it on your thematic child theme use this code at functions.php</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">function childtheme_typekit() { ?&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://use.typekit.com/XXXX.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;try{Typekit.load();}catch(e){}&lt;/script&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thematic_head_scripts'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'childtheme_typekit'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>(change the XXXX or change all the snippet code)</p>
<p>What this code does is put the script at your head tag. Easy right? if you want to know more about thematic you could visit <a href="http://themeshaper.com/thematic-for-wordpress">Thematic Framework</a>. </p>
<p>About Typekit, I was a late invitation on Typekit, i&#8217;ve notice on twitter that every body got the invitation since first august but i just get the invitation yesterday. My experience using typekit? it&#8217;s downright easy, u could automatically add font stack on the Typekit Editor in case the client browser doesn&#8217;t support @font-face.</p>
<p></p>
<p>after testing in localhost environment this is the screenshot of Typekit in action</p>
<p></p>
<p>This is good-dog font, using h1 selector with letter-spacing -1</p>
<p>Typekit comes in two version, the free and the pay version, the free version you&#8217;ll get less choice of font and you&#8217;ll get typekit badge while using it. There are 3 pay version scaling up the number fonts, bandwidth use &#038; features. </p>
<p></p>
<p>Right now i&#8217;m using the free version, i haven&#8217;t thought in upgrading my account, because right now i dont have any plans on what i&#8217;m going to use it for.</p>
<p><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/06/using-thematic-child-themes/" rel="bookmark" title="June 8, 2009">Using Thematic Child Themes</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/12/create-custom-posts-layout-in-home-page-thematic-child-theme/" rel="bookmark" title="December 23, 2009">Create Custom Posts Layout in Home Page (Thematic Child Theme)</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/02/learning-thematic/" rel="bookmark" title="February 7, 2009">Learning Thematic</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/07/puspaningrum-theme/" rel="bookmark" title="July 22, 2009">Puspaningrum Theme</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/01/website-re-design/" rel="bookmark" title="January 25, 2009">Website Re-design</a></em></li>
</ul>
<p><!-- Similar Posts took 5.491 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/08/how-to-add-typekit-to-your-thematic-child-themes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Miabebo Shop: Nursing Covers &amp; Diaper Bags</title>
		<link>http://hardiannazief.com/08/miabebo-shop-nursing-covers-diaper-bags/</link>
		<comments>http://hardiannazief.com/08/miabebo-shop-nursing-covers-diaper-bags/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 14:40:52 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[online store]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=986</guid>
		<description><![CDATA[<p>I&#8217;ve just finished helping my friend setting a simple online store for her last week, this project has been really an insightful experience for me, She gives many input to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished helping my friend setting a simple online store for her last week, this project has been really an insightful experience for me, She gives many input to the design and response quick in every question i&#8217;ve ask, so development went fast. Without her input, the development wont be so quick, the only things that held us down is the product aren&#8217;t available when the website ready, so we have to wait a couple of days to fill the site with product pictures.</p>
<p>The site sell <a href="http://miabebo.com">Nursing covers</a> for breastfeeding, bib for baby and diaper bags. The language that are used is Indonesian because she targeted the Indonesian market first, but to her affirmation she also confirm that she is capable in dealing with international buyers.</p>
<p>Here are the screenshot of the site,</p>
<p></p>
<p>The question that may pop-up in your mind is why does an online store doesn&#8217;t have a shopping chart? It&#8217;s because the nature of the online consumer here in Indonesia. Using credit card in an online environment are still rare here, many of the Indonesian consumer doesn&#8217;t believe in the security of the interwebs and the popular bank here also doesn&#8217;t have the support in online transaction, they do have internet banking but they doesn&#8217;t support retailer to use their bank service on the retailer site. So the solution? using the good old fashion of contact form, even so, in my experience there still difficulty in using it, in that position, the default comment form of WordPress coming in, to back-up it up i also use chat-box and Yahoo messenger status ID. <br /><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/01/toko-dephe-site-launch/" rel="bookmark" title="January 20, 2009">Toko Dephe Site Launch</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/04/john-chow-steve-pavlina-vs-kumiko-cash-quest/" rel="bookmark" title="April 14, 2007">John Chow &#038; Steve Pavlina VS Kumiko Cash Quest</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/09/site-soft-launch-readingbugsorg/" rel="bookmark" title="September 8, 2008">Site Soft Launch: readingbugs.org</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/10/jatinegara/" rel="bookmark" title="October 8, 2009">Jatinegara</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/01/yes-paypal-now-can-add-indonesian-bank-account/" rel="bookmark" title="January 29, 2008">Yes!! Paypal now can add Indonesian Bank Account!</a></em></li>
</ul>
<p><!-- Similar Posts took 5.176 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/08/miabebo-shop-nursing-covers-diaper-bags/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>A week with green PC</title>
		<link>http://hardiannazief.com/06/a-week-with-green-pc/</link>
		<comments>http://hardiannazief.com/06/a-week-with-green-pc/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 19:44:27 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=940</guid>
		<description><![CDATA[<p>Last week my PC went down and in the emergence of work that i have to do, i want to buy a PC quick, without the necessity to think the [...]]]></description>
			<content:encoded><![CDATA[<p>Last week my PC went down and in the emergence of work that i have to do, i want to buy a PC quick, without the necessity to think the specification. I had a couple of things in my mind when i want to buy the PC. First, it has to be energy efficient, it had to be cheap and it had to be durable, because my pc went on around 20 hours a day. i was thinking to build my own specification for the pc but the budget that are available at that time are only $450 and the time was not sufficient. </p>
<p></p>
<p>After careful thought in choosing the right PC, i stumbled upon a great bargain branded PC, <a href="http://www.bhinneka.com/products/sku00009122/hp_presario_cq2030l.aspx">HP Compaq CQ2030L</a> at <a href="http://www.bhinneka.com">bhinneka.com</a> for $419. I choose this because compared with building the PC by myself with the compaq specification it makes around $390, it still a bit pricey but considering that it is branded and uses intel Atom 230, i&#8217;m sure that it&#8217;s durable and very energy efficient, the uses of Intel Atom that coined me the PC with the term green PC.</p>
<p>The things that interested me the most is that the package that are offered by Bhinneka was bundled with an 18.5inch wide Compaq LCD and HP Deskjet 1550, The LCD will surely help me in coding but unfortunately for the printer, is that i&#8217;ve just bought a new printer and scanner last month, so i gave it away the printer to my relatives. The first time i hand on the PC, i was quite shocked of how small it is because it&#8217;s my first time using a thin PC like this. I&#8217;ve done a couple of research before i bought it, one of them is the PC only consume less than 100watt of electricity, the processor itself is only 22watt max. </p>
<p>When the package came, i asked to the delivery guy, is there a Windows XP driver on the box? the guy answer, there&#8217;s none. That&#8217;s when the first problem came, i was intended to install win XP on the PC but there&#8217;s no driver at hand and no PC at my house, later then the delivery guy promise me that it&#8217;s not a problem, i can ask the technician at Bhinneka to help. Felt relieved by the promised, i&#8217;ve knew that i can count on the help of the technician at Bhinneka. But boy do i was wrong about it, i sent a polite email to care@bhinneka.com to guide me to the location to download win XP driver. </p>
<p>After three days with no response (no autoresponder too), i knew that i can&#8217;t expect help from them, so i had to search it by my self. After googling, i found the driver at HP but only for <a href="http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?lc=en&#038;dlc=en&#038;cc=us&#038;lang=en&#038;product=3835693&#038;">Windows VISTA</a>. Such a crap moment, knowing pretty sure that the PC itself couldn&#8217;t run Vista smoothly, but the HP only provide VISTA driver for that type.<br />
After googling a few hours more, i&#8217;m pretty sure there&#8217;s no other site providing the driver. So i went back to HP.com and tweak the keyword and found the driver. The driver i get is from the Compaq CQ2000 type, the CQ2030L type is for Indonesian only and doesn&#8217;t provide XP driver. Everything went smoothly with the CQ2000 driver, It runs really well on XP sp2. if u want to download HP Compaq CQ2030L driver for Windows XP u can download it <a href="http://h10025.www1.hp.com/ewfrf/wc/softwareList?os=228&#038;lc=en&#038;dlc=en&#038;cc=us&#038;lang=en&#038;product=3887084">here</a>.</p>
<p>So how is the performance of the PC? it runs everythings smoothly, right now at the time of the writing, the programs that are running is notepad++ with 8tabs, Firefox with 9 tabs and 8 add-ons, Xamp Server (httpd &#038; mysqld), Comodo firewall and antivirus, password manager and download manager. Is there any hiccups? nope, there&#8217;s none. Does it runs Adobe photoshop? or illustrator? yes, but i only test it with Adobe CS2.</p>
<p>I&#8217;ve runs photoshop with Firefox, notepad++ and Xamp server, there&#8217;s not a single hiccups. i use the photoshop to edit 3000&#215;4000 res photo. the system runs smoothly. All in all, the PC fulled up to my expectation, the only things that i don&#8217;t try with this PC is playing 3D games which is not the first thing it was intended.<br /><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/07/testing-safari-3-beta-and-firefox-2004-on-adsl-40kbps-11-windows-xp/" rel="bookmark" title="July 15, 2007">Testing Safari 3 BETA and Firefox 2.004 on ADSL 40.kbps (1:1) Windows XP</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/10/installing-adobe-master-collection-without-pain-in-the-rse/" rel="bookmark" title="October 8, 2007">Installing Adobe Master Collection Without Pain in The *rse</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/05/firefox-3-download-day/" rel="bookmark" title="May 29, 2008">Firefox 3 Download Day!!</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/06/today-well-make-history-with-firefox/" rel="bookmark" title="June 18, 2008">Today We&#8217;ll Make History With Firefox</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/01/mybook-premium-edition-ii-review/" rel="bookmark" title="January 10, 2008">Mybook Premium Edition II Review</a></em></li>
</ul>
<p><!-- Similar Posts took 5.356 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/06/a-week-with-green-pc/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using Thematic Child Themes</title>
		<link>http://hardiannazief.com/06/using-thematic-child-themes/</link>
		<comments>http://hardiannazief.com/06/using-thematic-child-themes/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 09:46:08 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[thematic]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=923</guid>
		<description><![CDATA[<p>Third time&#8217;s a charm :) this is my third time creating child themes with thematic framework, there&#8217;s a learning curve to create it, like themes hooks and filters but all [...]]]></description>
			<content:encoded><![CDATA[<p>Third time&#8217;s a charm :) this is my third time creating child themes with <a href="http://themeshaper.com/thematic/">thematic framework</a>, there&#8217;s a learning curve to create it, like <a href="http://themeshaper.com/thematic/guide/?page_id=10">themes hooks</a> and <a href="http://themeshaper.com/thematic/guide/?page_id=12">filters</a> but all of them can be tackle in a matter of minutes. All of the unanswered ones can be found &#038; solved in <a href="http://themeshaper.com/forums/forum/thematic-theme">the thematic forums</a> which have a very friendly community.</p>
<p>I hope from this moment on, I wont change themes anymore, maybe just re-align it in the future :) The purpose of the themes is simple, i dont want to feel bloated with many post in one page. Wont scroll much to read the content and of course i want to have the right font on the right place :)</p>
<p>The old themes i use vigilance themes from jestro</p>
<p></p>
<p>the themes is awesome but i never really click with the font and the structure. Now, i&#8217;m using my own child themes based on thematic framework. The purpose large header for the title of the writing, because i think people will get tired seeing those same large logos over and over again but it will be more interested is the focus is in the title of the current content.</p>
<p>here are the new themes screenshot</p>
<p></p>
<p>i wouldn&#8217;t lie that i get a lot of the inspiration of the design of this child themes from Coudal and Jason Santa Maria website design. I was looking an inspirational use of Georgia font and Jason&#8217;s site happen to give me a really excellent example on how to use one.</p>
<p>The site is still along way from finish, i didn&#8217;t add twitter widget yet but i&#8217;ve add my recent google reader&#8217;s favorite link. Didn&#8217;t use favicon yet, I&#8217;m going to mock-up a little touch of graphic on the site in the near future.</p>
<p>next are a couple of function that i&#8217;ve use in my functions.php on my thematic child theme.</p>
<p>i&#8217;ve change the header so there&#8217;s no dropdown menu here and i&#8217;ve removed , replace it with the new ones. Here&#8217;s how i edit the header title on thematic, also adding new title and access using thematic_header() filters</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">// Delete drop down!
function childtheme_head_scripts() {}
add_filter('thematic_head_scripts','childtheme_head_scripts');
&nbsp;
// Remove default Thematic actions
function remove_thematic_actions() {
 remove_action('thematic_header','thematic_blogtitle',3);
 remove_action('thematic_header','thematic_access',9);
}
add_action('init','remove_thematic_actions');
&nbsp;
function childtheme_menu_args($args) {
    $args = array(
        'show_home' =&gt; 'Home',
        'menu_class' =&gt; 'menu',
        'echo' =&gt; true
    );
	return $args;
}
add_filter('wp_page_menu_args', 'childtheme_menu_args');
&nbsp;
function childtheme_title(){ ?&gt;
    		&lt;div id=&quot;blog-title&quot;&gt;&lt;span&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'home'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>/&quot; title=&quot;<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: #000000; font-weight: bold;">?&gt;</span>&quot; rel=&quot;home&quot;&gt;&lt;img src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> get_stylesheet_directory_uri<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>/images/logo3.png&quot; alt=&quot;<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: #000000; font-weight: bold;">?&gt;</span>&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thematic_header'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'childtheme_title'</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> childtheme_access<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;div id=&quot;access&quot;&gt;
		<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_page_menu<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sort_colum=menu_order'</span><span style="color: #009900;">&#41;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;/div&gt; &lt;!--#access--&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thematic_header'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'childtheme_access'</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">9</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>after that i&#8217;ve change a little bit on the post_meta and the post_footer. The last function that i&#8217;ve use is adding google analytics code on the footer. Here&#8217;s how to add Google analytics code on the thematic child themes footer (before close body tag)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">function analytic_footer() {?&gt;
&lt;script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
_uacct = &quot;XXXXXXX&quot;;
urchinTracker();
&lt;/script&gt;
<span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #009900;">&#125;</span>
add_filter <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thematic_after'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'analytic_footer'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>all of the functions here is almost the same as the last time i <a href="http://hardiannazief.com/02/learning-thematic/">post about thematic</a>. </p>
<p><strong>Update:</strong><br />
I&#8217;m releasing this thematic child theme, it&#8217;s called <a href="http://hardiannazief.com/07/puspaningrum-theme/">Puspaningrum Theme</a>, you can view it <a href="http://hardiannazief.com/07/puspaningrum-theme/">here</a><br /><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/02/learning-thematic/" rel="bookmark" title="February 7, 2009">Learning Thematic</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/08/how-to-add-typekit-to-your-thematic-child-themes/" rel="bookmark" title="August 28, 2009">How to Add Typekit to your Thematic Child Themes</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/12/create-custom-posts-layout-in-home-page-thematic-child-theme/" rel="bookmark" title="December 23, 2009">Create Custom Posts Layout in Home Page (Thematic Child Theme)</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/12/be-water-my-friend-with-thematic/" rel="bookmark" title="December 21, 2009">Be Water My Friend&#8230; With Thematic</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/07/puspaningrum-theme/" rel="bookmark" title="July 22, 2009">Puspaningrum Theme</a></em></li>
</ul>
<p><!-- Similar Posts took 18.037 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/06/using-thematic-child-themes/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Doin It Wrong?</title>
		<link>http://hardiannazief.com/04/doin-it-wrong/</link>
		<comments>http://hardiannazief.com/04/doin-it-wrong/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 17:15:53 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[Rambling Story]]></category>
		<category><![CDATA[weird]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=898</guid>
		<description><![CDATA[<p>see more Lolcats and funny pictures</p>
<p>i found it odd that facebook has a double breadcrumb that leads to the same page, even thought the links is different, the page where [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://icanhascheezburger.com/2008/04/24/funny-pictures-facebook-ur-doin-it-wrong/"><em></a><br />see more <a href="http://icanhascheezburger.com">Lolcats and funny pictures</a></em></p>
<p>i found it odd that <a href="http://www.facebook.com">facebook</a> has a double breadcrumb that leads to the same page, even thought the links is different, the page where its headed is the same, its been a long time but no one seems to bother to wrote it. Here is a couple of navigation that i found linking the same page. the first one is</p>
<p></p>
<p>The home page, clicking the home button and the facebook button leads to the same page, why? seeing that it use &#8220;ref&#8221; keyword on the string of the link, at first i was thinking maybe it&#8217;s for surveys or something, but after a year using facebook, does it still need survey for that function?</p>
<p></p>
<p>The second one is, the breadcrumb on the view all friends page, using see all and clicking the amount of your friends lead to the same page too, i dont know why it bother to use two link that leads to the same page (and positioned damn near too).</p>
<p>There are maybe more of this on other page, but i never intended to research about it, i use facebook only to connect with my friends and never intended to use it other than that. It just bother me, seeing it every time i use facebook.<br /><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/05/a-nice-way-to-phis/" rel="bookmark" title="May 24, 2009">A nice way to phish</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/01/a-wonderfull-afternoon/" rel="bookmark" title="January 6, 2008">a Wonderfull Afternoon</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/07/like-button-metadata-in-wordpress/" rel="bookmark" title="July 19, 2010">Like Button Metadata in WordPress</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/04/faster-browsing-in-a-limited-connection/" rel="bookmark" title="April 28, 2007">Faster Browsing in a Limited Connection</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/06/using-thematic-child-themes/" rel="bookmark" title="June 8, 2009">Using Thematic Child Themes</a></em></li>
</ul>
<p><!-- Similar Posts took 5.127 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/04/doin-it-wrong/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>My list of things to remember when re-design my own site</title>
		<link>http://hardiannazief.com/04/my-list-of-things-to-remember-when-re-design-my-own-site/</link>
		<comments>http://hardiannazief.com/04/my-list-of-things-to-remember-when-re-design-my-own-site/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 12:40:53 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[Rambling Story]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=872</guid>
		<description><![CDATA[<p>The worst part in creating or modifying WordPress themes is the multiple browser compability, a lot of my friends and client use old PC and use (gasp!) Internet Explorer, using [...]]]></description>
			<content:encoded><![CDATA[<p>The worst part in creating or modifying WordPress themes is the multiple browser compability, a lot of my friends and client use old PC and use (gasp!) Internet Explorer, using those dreaded version 5 and 6. So if they find the site that i help make or create looks weird, shame on me. In the next couples of weeks maybe i&#8217;m going to re-design my site, i should have re-align but i felt this themes doesn&#8217;t click with me yet after a couple month. So I decided to change it.</p>
<p><a href="http://www.flickr.com/photos/funfilledgeorgie/"></a></p>
<p>I usually have a list of what i check the themes before i implemented the design on my site, here it is and a couple of changes that i&#8217;m going to do with the next design</p>
<ol>
<li>Themes lay-out should cross browser compatible. i check it at least to 4 browser: IE 6 and 7, Firefox, Opera and Safari.</li>
<li>Is the comment form awesome or not.</li>
<li>Not using PNG transparency (i&#8217;m sorry but i hate to use hacks on IEs)</li>
<li>Check the navigation menu, sometimes IE act nasty on this issue</li>
<li>Because the interwebs is still expensive here in indonesia, specially in rural area, i tend to use less image on the themes, because here, the internet connection is really slow.</li>
<li>Checking out the http request using firebugs, well this is a quite long explanations. but the keyword is, the more request files from the external page that is loads up, the page load more slowly.<br />
The files that sometime creates a huge pile of http request is, not using the CSS Sprites. Those million files of css and javascripts, the style.css, reset.css, the grid css, the layout css, the lightbox script, the form contact script, the rating script, u name it, it&#8217;s a huge pile of request too for sure. so i want to minimalize it in the next future.</li>
<li>I want to play with font lots more, no more graphic heavy</li>
</ol>
<p>Well i guess i better start it.</p>
<p><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/01/toko-dephe-site-launch/" rel="bookmark" title="January 20, 2009">Toko Dephe Site Launch</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/09/site-soft-launch-readingbugsorg/" rel="bookmark" title="September 8, 2008">Site Soft Launch: readingbugs.org</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/10/whooaa-i-have-to-slow-down-in-posting-blogs/" rel="bookmark" title="October 25, 2007">Whooaa I Have to Slow Down in Posting blogs</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/01/website-re-design/" rel="bookmark" title="January 25, 2009">Website Re-design</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/11/google-hack/" rel="bookmark" title="November 9, 2008">Google Hack?</a></em></li>
</ul>
<p><!-- Similar Posts took 5.226 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/04/my-list-of-things-to-remember-when-re-design-my-own-site/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Smush It!</title>
		<link>http://hardiannazief.com/03/smush-it/</link>
		<comments>http://hardiannazief.com/03/smush-it/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 13:13:56 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[Rambling Story]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=852</guid>
		<description><![CDATA[<p>
by .little.princess.</p>
<p>Been busy this couple of weeks due to my personal project. So i haven&#8217;t have the time to write a post, but many interesting things that i found during [...]]]></description>
			<content:encoded><![CDATA[<p><br />
by <a href="http://flickr.com/photos/_littleprincess_/">.little.princess.</a></p>
<p>Been busy this couple of weeks due to my personal project. So i haven&#8217;t have the time to write a post, but many interesting things that i found during this a couple of weeks. The most interesting things is i remembered that i promised my friends to help her develop a site for her organization last december. </p>
<p>Seeing that it&#8217;s been to long delayed, I contact her that i&#8217;ll do it immediately postponing my personal project for two weeks. In theory if we routinely communicate at each other two weeks it&#8217;s a bit too long, but in reality it&#8217;s quite short. There are a couple of problem that we&#8217;ve stumbled, and i know that two weeks is too short for her demand, but seeing that she had limited budget i can&#8217;t help her too long. At the start of the project I immediately ask a couple question regarding her wants on the website, i figured out that she want a magazine type of site. </p>
<p></p>
<p>With the limited resources and time, in two days i use and customized <a href="http://www.darrenhoyt.com/2009/01/30/mimbo-30-released/">Mimbo 3.0</a> theme from Darren Hoyt,and the result is perfect. The font that i use in the title is change, using big  italic Georgia font for the h2 and the other things i change is the color themes to yellow. Right now i&#8217;m still waiting for her reply regarding the content.</p>
<p><a href="http://www.smushit.com/"></a></p>
<p>The other things that is interesting is i found Smush it!! This site is very awesome for optimizing pictures for web. A quote from the site</p>
<blockquote><p>Performance just got a little bit easier. Optimizing images by hand is time consuming and painful. Smush it does it for you.</p></blockquote>
<p>The result of using it is fantastic, on some occasion it&#8217;s better than using the &#8220;Save for webs&#8221; feature on adobe photoshop.</p>
<p></p>
<p>Other things that i&#8217;ve found interesting while exploring fonts, i found <a href="http://www.fontsquirrel.com/">fontsquirrel</a> which different from <a href="http://www.dafont.com/">dafont.com</a>, where comes with a variety of license, with fontsquirrel the font comes with commercial-use license.</p>
<p>There are also many interesting things i found regarding understanding web development like <a href="http://patterntap.com/">PatternTap</a> and many articles from smashing magz. but i guess it&#8217;s time to get back to work.<br /><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/04/31-days-the-first-step/" rel="bookmark" title="April 8, 2009">31 Days, The First Step</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/01/what-the-f/" rel="bookmark" title="January 17, 2008">WHAT THE F***!!!!</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/09/a-little-redesign-on-the-site/" rel="bookmark" title="September 26, 2008">A little redesign on the site</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/09/night-market-at-jakarta-cipinang/" rel="bookmark" title="September 3, 2009">Night Market at Jakarta, Cipinang</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/08/how-to-add-typekit-to-your-thematic-child-themes/" rel="bookmark" title="August 28, 2009">How to Add Typekit to your Thematic Child Themes</a></em></li>
</ul>
<p><!-- Similar Posts took 5.657 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/03/smush-it/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Learning Thematic</title>
		<link>http://hardiannazief.com/02/learning-thematic/</link>
		<comments>http://hardiannazief.com/02/learning-thematic/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 17:15:01 +0000</pubDate>
		<dc:creator>dian</dc:creator>
				<category><![CDATA[geeks]]></category>
		<category><![CDATA[Rambling Story]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://hardiannazief.com/?p=826</guid>
		<description><![CDATA[<p>At the moment i was designing a new themes for my wife, but it is still not finished yet because i&#8217;m not click with the final result, i want to [...]]]></description>
			<content:encoded><![CDATA[<p>At the moment i was designing a new themes for <a href="http://www.dephe.com/">my wife</a>, but it is still not finished yet because i&#8217;m not click with the final result, i want to change it again if i still felt awry with the design. So i wont give screen shot of the site in this post.</p>
<p><br />
<em>Pic by <a href="http://flickr.com/photos/pdmd/">papadont</a></em></p>
<p>What i want to tell u in the process is, i was amaze this couple of week, i learn a lot. In the process of re-designing the site I use <a href="http://themeshaper.com/thematic-for-wordpress/">Thematic Theme Framework</a> from Ian Stewart for the based framework, using child themes to create new themes, same as i did with my site. I was amaze how easy it is to create child themes with thematic, i use Thematic before <a href="http://hardiannazief.com/09/a-little-redesign-on-the-site/">on this site a couple of month a go</a> but didn&#8217;t quite grasp yet the full feature of Thematic, i was really lazy back then :) boy do i miss a lot of things because of this laziness.</p>
<p>The first thing that help me the most in the process is Thematic provide me with <a href="http://960.gs/">960 grid system</a> background template (12 column 18px height) to help me change layout, using it as the background on the body (just un-comment it) i could easily move within the grid system. But the template that was provided is the 12 column, i prefer the 16 columns, so i create a new background template with 16 column with 18 pixel high based on the 960 Grid System, here&#8217;s <a href="http://hardiannazief.com/wp-content/uploads/2009/02/grid.png">the template</a> if u want to use it.</p>
<p>Other things that help me also are guide on <a href="http://themeshaper.com/custom-page-template-redesign-blog/">adding and customizing page template on child themes</a> in Ian&#8217;s blog. <a href="http://themeshaper.com/forums/">The forum</a> also filled with helpful people, just be sure to post there politely :)</p>
<p>Oh yeah in case u want to add Home link to the navigation bar, just add this code to your functions.php in your child themes folder, this is the first thing i look in the forum, the newbie code to add home in your nav bar :P</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> nav_menu<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$menu</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&lt;div id=&quot;menu&quot;&gt;&lt;ul&gt;'</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$menu</span> <span style="color: #339933;">.=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;r&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;n&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;t&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'include=24,27,28&amp;title_li=&amp;sort_column=menu_order&amp;echo=0'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$menu</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;/ul&gt;&lt;/div&gt;n&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$menu</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> 
&nbsp;
add_filter<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_page_menu'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nav_menu'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>There are others beside home that i want to add in the navigational bar, one of them are rss icon, feed by email and search bar. The current code below is one of the way to add all of them and adding favicon before the head tag and also adding google analitycs code before the close of body 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: #000000; font-weight: bold;">function</span> childtheme_favicon<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
    &lt;link rel=&quot;shortcut icon&quot; href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'stylesheet_directory'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>/images/favicon.ico&quot;&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_head'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'childtheme_favicon'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> home_menu<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$menu</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&lt;div class=&quot;menu&quot;&gt;&lt;ul&gt;'</span><span style="color: #339933;">;</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: #000088;">$menu</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&lt;li class=&quot;current_page_item&quot;&gt;&lt;a href=&quot;'</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
         <span style="color: #000088;">$menu</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&lt;li&gt;&lt;a href=&quot;'</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #000088;">$menu</span> <span style="color: #339933;">.=</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'home'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/&quot; title=&quot;Home&quot;&gt;Home&lt;/li&gt;'</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$menu</span> <span style="color: #339933;">.=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;r&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;n&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;t&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_li=&amp;sort_column=menu_order&amp;echo=0'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$menu</span> <span style="color: #339933;">.=</span> 	<span style="color: #0000ff;">'&lt;li&gt;&lt;div class=&quot;clear&quot; id=&quot;rss-feed&quot;&gt; 
					&lt;a href=&quot;http://feeds.feedburner.com/XXXX&quot; class=&quot;rss&quot;&gt;RSS&lt;/a&gt;
					&lt;a href=&quot;http://www.feedburner.com/fb/a/emailverifySubmit?feedId=XXXX&amp;amp;loc=en_US&quot; class=&quot;email&quot;&gt;Email Updates&lt;/a&gt;
				&lt;/div&gt;&lt;/li&gt;'</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$menu</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&lt;li&gt;&lt;form action=&quot;'</span><span style="color: #339933;">.</span>get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'home'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; method=&quot;get&quot; id=&quot;searchform&quot;&gt;
					&lt;div class=&quot;&quot;&gt;
						&lt;input type=&quot;text&quot; tabindex=&quot;1&quot; size=&quot;20&quot; value=&quot;&quot; name=&quot;s&quot; id=&quot;s&quot;/&gt;
						&lt;input type=&quot;submit&quot; tabindex=&quot;2&quot; value=&quot;Search&quot; name=&quot;searchsubmit&quot; id=&quot;searchsubmit&quot;/&gt;
					&lt;/div&gt;
				&lt;/form&gt;&lt;/li&gt;'</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$menu</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;/ul&gt;&lt;/div&gt;n&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$menu</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_page_menu'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'home_menu'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> analitycs_footer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;script type=&quot;text/javascript&quot;&gt;
var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);
document.write(unescape(&quot;%3Cscript src='&quot; + gaJsHost + &quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&quot;));
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
try {
var pageTracker = _gat._getTracker(&quot;XXXXXXX&quot;);
pageTracker._trackPageview();
} catch(err) {}&lt;/script&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_footer'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'analitycs_footer'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/php&gt;</pre></div></div>

<p>Don&#8217;t forget to customize the css to make the rss button, rss feed by mail and the search bar more pretty :)<br /><strong>u may also like this :</strong>
<ul class="similar-posts">
<li> &#8211; <em><a href="http://hardiannazief.com/06/using-thematic-child-themes/" rel="bookmark" title="June 8, 2009">Using Thematic Child Themes</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/12/create-custom-posts-layout-in-home-page-thematic-child-theme/" rel="bookmark" title="December 23, 2009">Create Custom Posts Layout in Home Page (Thematic Child Theme)</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/12/be-water-my-friend-with-thematic/" rel="bookmark" title="December 21, 2009">Be Water My Friend&#8230; With Thematic</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/07/puspaningrum-theme/" rel="bookmark" title="July 22, 2009">Puspaningrum Theme</a></em></li>
<li> &#8211; <em><a href="http://hardiannazief.com/08/how-to-add-typekit-to-your-thematic-child-themes/" rel="bookmark" title="August 28, 2009">How to Add Typekit to your Thematic Child Themes</a></em></li>
</ul>
<p><!-- Similar Posts took 6.358 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://hardiannazief.com/02/learning-thematic/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

