<?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/"
	>

<channel>
	<title>Kaizeku Ban &#187; Themes</title>
	<atom:link href="http://blog.kaizeku.com/topics/wordpress/themes/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kaizeku.com</link>
	<description>So many evil plans, so little time...</description>
	<pubDate>Wed, 19 Nov 2008 01:02:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-beta2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Chrome Milk 1.6.2 RC 1 Released</title>
		<link>http://blog.kaizeku.com/wordpress/chrome-milk-162-rc1/</link>
		<comments>http://blog.kaizeku.com/wordpress/chrome-milk-162-rc1/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 10:00:39 +0000</pubDate>
		<dc:creator>Avice</dc:creator>
		
		<category><![CDATA[Themes]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[microformats]]></category>

		<category><![CDATA[OpenSearch]]></category>

		<category><![CDATA[theme]]></category>

		<category><![CDATA[wp26]]></category>

		<category><![CDATA[wp27]]></category>

		<category><![CDATA[wpistalker]]></category>

		<guid isPermaLink="false">http://blog.kaizeku.com/?p=589</guid>
		<description><![CDATA[This release (at revision 63) fixes the bug with WPI content permalinks and added support for WordPress 2.7 comment features. 
Chrome Milk 1.6.2 RC1 Screenshot


WordPress 2.7x reply form (jQuery thickbox)


A9 OpenSearch 1.1 Auto-discovery (OSD)


Various Microformats embed


Safari native search feature


WordPress 2.7x Comments Pagination


Download

Chrome Milk 1.6.2 RC 1 &#183;(436 KB) &#183; SHA1 cheksum 76eb07ecc9d61fdabc33f9fb312842221e241e9d
Chrome Milk 1.6.2 RC [...]]]></description>
			<content:encoded><![CDATA[<p>This release <small>(at revision 63)</small> fixes the bug with <abbr title="WP-iStalker">WPI</abbr> content permalinks and added support for WordPress 2.7 comment features. </p>
<h3 class="toggle-content">Chrome Milk 1.6.2 RC1 Screenshot</h3>
<div class="dn">
<div id="attachment_594" class="wp-caption aligncenter mgb" style="width: 310px;margin-bottom: 18px !important;margin-top:18px !important"><a href="http://blog.kaizeku.com/wp-content/uploads/2008/11/comments-reply.gif" class="thickbox" rel="chrome-milk" title="WordPress 2.7 jQuery thickbox reply form"><img src="http://blog.kaizeku.com/wp-content/uploads/2008/11/comments-reply-300x164.gif" alt="Thickbox reply form" title="comments-reply" width="300" height="164" class="size-medium wp-image-594" /></a>
<p class="wp-caption-text">WordPress 2.7x reply form (jQuery thickbox)</p>
</div>
<div id="attachment_597" class="wp-caption aligncenter mgb" style="width: 310px;margin-bottom: 18px !important"><a href="http://blog.kaizeku.com/wp-content/uploads/2008/11/valid-osd.gif" class="thickbox" rel="chrome-milk" title="A9 OpenSearch Discovery (OSD)"><img src="http://blog.kaizeku.com/wp-content/uploads/2008/11/valid-osd-300x107.gif" alt="A9 OpenSearch 1.1 Auto-discovery" title="valid-osd" width="300" height="107" class="size-medium wp-image-597" /></a>
<p class="wp-caption-text">A9 OpenSearch 1.1 Auto-discovery (OSD)</p>
</div>
<div id="attachment_600" class="wp-caption aligncenter mgb" style="width: 310px;margin-bottom: 18px !important"><a href="http://blog.kaizeku.com/wp-content/uploads/2008/11/valid-microformats.gif" class="thickbox" rel="chrome-milk" title="Microformats embed - Operator"><img src="http://blog.kaizeku.com/wp-content/uploads/2008/11/valid-microformats-300x219.gif" alt="Valid microformats " title="valid-microformats" width="300" height="219" class="size-medium wp-image-600 thickbox" /></a>
<p class="wp-caption-text">Various Microformats embed</p>
</div>
<div id="attachment_603" class="wp-caption aligncenter mgb" style="width: 310px;margin-bottom: 18px !important"><a href="http://blog.kaizeku.com/wp-content/uploads/2008/11/native-safari-support.gif"><img src="http://blog.kaizeku.com/wp-content/uploads/2008/11/native-safari-support-300x112.gif" alt="Safari native search feature" title="native-safari-support" width="300" height="112" class="size-medium wp-image-603 thickbox" /></a>
<p class="wp-caption-text">Safari native search feature</p>
</div>
<div id="attachment_606" class="wp-caption aligncenter mgb" style="width: 310px;margin-bottom: 18px !important"><a href="http://blog.kaizeku.com/wp-content/uploads/2008/11/comment-pagination.png" class="thickbox" rel="chrome-milk" title="WordPress 2.7 Comment paging"><img src="http://blog.kaizeku.com/wp-content/uploads/2008/11/comment-pagination-300x171.png" alt="comment pagination WP 2.7x" title="comment-pagination" width="300" height="171" class="size-medium wp-image-606" /></a>
<p class="wp-caption-text">WordPress 2.7x Comments Pagination</p>
</div>
</div>
<h3 class="pdt">Download</h3>
<ul class="xoxo">
<li><a href="http://wp-istalker.googlecode.com/files/wp-istalker-chrome-1.6.2rc1.zip" rel="external" title="Zip archive 1.6.2 RC1">Chrome Milk 1.6.2 RC 1</a> &middot;<small>(436 KB)</small> &middot; <small class="title-">SHA1 cheksum</small><tt class="dn"> 76eb07ecc9d61fdabc33f9fb312842221e241e9d</tt></li>
<li><a href="http://wp-istalker.googlecode.com/files/wp-istalker-chrome-1.6.2rc1.tar.gz" rel="external" title="Tar GZIP archive 1.6.2 RC1">Chrome Milk 1.6.2 RC 1 (tar.gz)</a> &middot; <small>(377 KB)</small> &middot; <small class="title-">SHA1 cheksum</small><tt class="dn">836b6859225b036f750143019a0b50f2b2e7f85c</tt></li>
</ul>
<p><span id="more-589"></span></p>
<p>More on this &rarr; <a href="http://wp.istalker.net/wordpress/chrome-milk-162-rc1/" rel="external" title="Chrome Milk RC1">Chrome Milk 1.6.2 Release Candidate 1</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.kaizeku.com/wordpress/chrome-milk-162-rc1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Beta test WP-iStalker theme</title>
		<link>http://blog.kaizeku.com/wordpress/beta-test-wp-istalker-theme/</link>
		<comments>http://blog.kaizeku.com/wordpress/beta-test-wp-istalker-theme/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 06:20:47 +0000</pubDate>
		<dc:creator>Avice</dc:creator>
		
		<category><![CDATA[Themes]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[beta]]></category>

		<category><![CDATA[wpistalker]]></category>

		<guid isPermaLink="false">http://blog.kaizeku.com/?p=395</guid>
		<description><![CDATA[
Chrome Milk
Version 1.6.2 is a downgrade of WPI brush milk WordPress theme. Because of complicated license issues and some others pure experimental code breakdown 60% of the features has been taken out.
Download
Read the quick start guide, if you meet all the requirements download it at google code page. WIP Demo.
Features
WPI is a features rich open [...]]]></description>
			<content:encoded><![CDATA[<div class="column-2">
<h6>Chrome Milk</h6>
<p>Version 1.6.2 is a downgrade of <abbr title="WP-iStalker">WPI</abbr> brush milk WordPress theme. Because of complicated license issues and some others pure experimental code breakdown 60% of the features has been taken out.</p>
<h6>Download</h6>
<p>Read the <a href="http://wp.istalker.net/chrome-milk/quick-start/" title="Chrome Milk" rel="external">quick start</a> guide, if you meet all the requirements download it at <a href="http://code.google.com/p/wp-istalker/downloads/list" rel="external" title="WP-iStalker Googlecode">google code</a> page. <abbr title="Work in progress">WIP</abbr> <a href="http://wp.istalker.net/" rel="external" title="Chrome Milk demo page">Demo</a>.</p>
<h6>Features</h6>
<p>WPI is a features rich open source theme, you will have more control with content using WPI theme. Possible options include from a simple task like changing date format on single post to controlling what will be send in HTTP headers, imagine that!. </p>
<p>Template structure is base on W3C CSS3 layout and its semantically a <abbr title="Plain Old Semantic HTML">POSH</abbr> design (<span class="vcard"><a href="http://microformats.org" rel="external" title="Microformats" class="microformats url fn org">Microformats</a></span>) . Checkout the no frill <a href="http://wp.istalker.net/chrome-milk/features/" title="Chrome Milk" rel="external">features list</a>.</p>
</div>
<p><span id="more-395"></span></p>
<h3 class="toggle-content">Screenshot</h3>
<div class="dn">
<div class="wp-caption aligncenter" style="width:312px;height:242px"><img src="http://blog.kaizeku.com/wp-content/themes/wp-istalker-chrome/screenshot.png" width="300" height="225" class="photo" alt="chrome milk screenshot"/><span>Chrome Milk</span></div>
<div id="attachment_501" class="wp-caption aligncenter mgt" style="width: 410px"><img src="http://blog.kaizeku.com/wp-content/uploads/2008/11/wp-istalker-chrome-milk-theme-options.jpg" alt="Theme options (on WP 2.7b1)" title="wp-istalker-chrome-milk-theme-options" width="400" height="226" class="size-full wp-image-501" />
<p class="wp-caption-text">Theme options (WordPress 2.7x)</p>
</div>
</div>
<h6 class="mgt">Advanced CSS and dynamic template</h6>
<p>Extended features.</p>
<ul class="xoxo">
<li>Customize styles for every known browser (with zero CSS Hack) - base on Browser capabilities project.</li>
<li>Customize styles for Mobile/Screen reader (pda, iphone, blackberry,psp, jaws) </li>
<li>Customize styles for specific <abbr title="Operating System">OS</abbr> (windows, mac, unix, debian, redhat, bsd)</li>
<li>Customize styles base on Client specific time (dawn,day,night,dusk,night). <small>-require javascript</small>.</li>
<li><del datetime="2008-11-04T05:27:36+00:00">Customize styles for search engine crawler or bots.</del> <small>-grayhat</small> </li>
</ul>
<h4 class="toggle-content expand">Bugs &amp; patches</h4>
<p>This are beta release (bug squashing level), minor glitch and bugs is to be expected so don&#8217;t look so surprised when you found ones. If you got an issue or patches to submit don&#8217;t post it here, write a <a href="http://code.google.com/p/wp-istalker/issues/list" title="tracker" rel="external">ticket</a>. Its make things more organize.</p>
<h6>Latest</h6>
<pre class="smallbox">svn checkout http://wp-istalker.googlecode.com/svn/trunk/ wp-istalker-read-only</pre>]]></content:encoded>
			<wfw:commentRss>http://blog.kaizeku.com/wordpress/beta-test-wp-istalker-theme/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to upgrade your theme to WordPress 2.7</title>
		<link>http://blog.kaizeku.com/wordpress/how-to-upgrade-your-theme-to-wordpress-27/</link>
		<comments>http://blog.kaizeku.com/wordpress/how-to-upgrade-your-theme-to-wordpress-27/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 18:27:15 +0000</pubDate>
		<dc:creator>Avice</dc:creator>
		
		<category><![CDATA[Themes]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wp27]]></category>

		<guid isPermaLink="false">http://blog.kaizeku.com/?p=401</guid>
		<description><![CDATA[There is new codex entry for theme authors specifically, check out Migrating themes to 2.7 and also read otto&#8217;s post regarding WP 2.7 comment paging and threading.
At last somebody notice the microID, I have implement microID in WP-iStalker themes since the first release this methods are good for comparing genuine user with fake one.]]></description>
			<content:encoded><![CDATA[<p>There is new codex entry for theme authors specifically, check out <a href="http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7">Migrating themes to 2.7</a> and also read otto&#8217;s post regarding <a href="http://ottodestruct.com/blog/2008/09/29/wordpress-27-comments-enhancements/">WP 2.7 comment paging and threading</a>.</p>
<p>At last somebody notice the microID, I have implement microID in WP-iStalker themes since the first release this methods are good for comparing genuine user with fake one.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.kaizeku.com/wordpress/how-to-upgrade-your-theme-to-wordpress-27/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Error has been made</title>
		<link>http://blog.kaizeku.com/search_engine/google/error-has-been-made/</link>
		<comments>http://blog.kaizeku.com/search_engine/google/error-has-been-made/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 04:16:07 +0000</pubDate>
		<dc:creator>Avice</dc:creator>
		
		<category><![CDATA[Google]]></category>

		<category><![CDATA[wpistalker]]></category>

		<category><![CDATA[404]]></category>

		<category><![CDATA[google webmaster]]></category>

		<category><![CDATA[iStalker]]></category>

		<category><![CDATA[Owned]]></category>

		<category><![CDATA[prefetching]]></category>

		<guid isPermaLink="false">http://blog.kaizeku.com/?p=333</guid>
		<description><![CDATA[The &#8220;404 page not found&#8221; shouldn&#8217;t be so depressing so I rebuild WP-iStalker 1.6.2 404 page. It now has a Google Webmaster 404 widget customize to your locale language setting and it will also trigger &#8216;prefeching&#8217; content (base on the request link and google fixURL suggestion).
Try get yourself lost around here. ^D]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.kaizeku.com/wp-content/uploads/2008/10/404-not-found1.png" alt="" title="404 not found" width="128" height="128" class="alignleft size-full thumb- wp-image-340" />The &#8220;404 page not found&#8221; shouldn&#8217;t be so depressing so I rebuild <a href="http://wp-istalker.googlecode.com" title="WP-iStalker 1.6.2 (Chrome Milk)" rel="external">WP-iStalker 1.6.2</a> 404 page. It now has a <a href="http://www.google.com/support/webmasters/bin/answer.py?answer=93641" rel="external" title="Google Webmaster">Google Webmaster 404</a> widget customize to your locale language setting and it will also trigger &#8216;prefeching&#8217; content <small>(base on the request link and google fixURL suggestion)</small>.</p>
<p>Try get yourself lost around here. ^D</p>]]></content:encoded>
			<wfw:commentRss>http://blog.kaizeku.com/search_engine/google/error-has-been-made/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to create specific CSS selector base on WP Post Type and Post ID</title>
		<link>http://blog.kaizeku.com/wordpress/css-selector-base-on-post-type-and-post-id/</link>
		<comments>http://blog.kaizeku.com/wordpress/css-selector-base-on-post-type-and-post-id/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 06:55:33 +0000</pubDate>
		<dc:creator>Avice</dc:creator>
		
		<category><![CDATA[Themes]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[wp_query]]></category>

		<guid isPermaLink="false">http://blog.kaizeku.com/?p=197</guid>
		<description><![CDATA[While spending my time stalking wordpress support forum, I stumbled on this 6 days old unresolved topics &#8221; using page/post id to specify per-page css in 2.5&#8243;. 
I&#8217;m about to upgrade a site from Wordpress 2.3 to the latest version. I&#8217;ve previously been employing the page id in order to have page specific CSS, e.g., [...]]]></description>
			<content:encoded><![CDATA[<p>While spending my time stalking wordpress support forum, I stumbled on this 6 days old unresolved topics <a href="http://wordpress.org/support/topic/187701/">&#8221; using page/post id to specify per-page css in 2.5&#8243;</a>. </p>
<blockquote cite="http://wordpress.org/support/topic/187701/" class="cr"><p><img src="http://blog.kaizeku.com/wp-content/uploads/2008/07/warning.png" alt="chibi hate you mod by chaoskaizer" title="warning" width="80" height="80" class="alignleft size-full wp-image-199" />I&#8217;m about to upgrade a site from <strong>Wordpress 2.3</strong> to the latest version. I&#8217;ve previously been employing the page id in order to have page specific CSS, e.g., pages with either 0, 1 or 2 sidebars.</p>
<p>For example, if the url is <tt>http://site.com/page1</tt>, the page is styled with a combination of a template and <abbr title="Cascading Style Sheet">CSS</abbr> to specify the width of primary:</p>
<p><tt>#page1 #primary {margin-left: 0;width: 890px; }</tt></p>
<p>I&#8217;ve read in some other posts here that <strong>Wordpress 2.5</strong> no longer uses this, and now the <strong>post ID</strong> is used instead [...] <small>~ hauntedtapedeck</small></p>
</blockquote>
<h2>Workaround</h2>
<p>Basically, what we need is a unique <strong>CSS Selector</strong> for specific post &#038; custom page inside the template.</p>
<p><img src="http://blog.kaizeku.com/wp-content/uploads/2008/07/console-html.jpg" alt="firebug html console" title="console-html" width="359" height="74" class="alignnone size-full wp-image-198" /></p>
<p><span id="more-197"></span></p>
<ol class="xoxo cb">
<li>
<p>First we create a function for our CSS selector and save it inside WP theme <tt>functions.php</tt></p>
<p><tt class="db fr cf"><small>functions.php: get_post_selector_classname()</small></tt></p>
<pre class="prebox cr">
function get_post_selector_classname&#40;&#41;
&#123; global &#36;wp_query&#59;

 if &#40;&#33;is_object&#40;&#36;wp_query&#41; &#41; return&#59;

 if &#40;&#36;wp_query&#45;&#62;is_single &#124;&#124; &#36;wp_query&#45;&#62;is_page&#41; &#123;	 

	 &#36;pid &#61; &#36;wp_query&#45;&#62;post&#45;&#62;ID&#59;
	 &#36;post_type &#61; &#36;wp_query&#45;&#62;post&#45;&#62;post_type&#59; 

	 return &#39;wp&#45;&#39;&#46;&#36;post_type&#46;&#39; &#39;&#46;&#36;post_type&#46;&#39;&#45;&#39;&#46;&#36;pid&#59;
 &#125;
&#125;
</pre>
</li>
<li>
<p>Next we call the <tt>get_post_selector_classname</tt> function inside the template. You can call this function anywhere inside your template but the best placement for the class selector is inside body tag (more weight for inheritance). </p>
<p><tt class="db fr cf"><small>header.php</small></tt></p>
<pre class="smallbox cr">
&#60;body class&#61;&#34;&#60;&#63;php echo get_post_selector_classname&#40;&#41;&#59;&#63;&#62;&#34;&#62;
</pre>
</li>
</ol>
<h3>Available CSS selector</h3>
<p>The following CSS selector is available inside WP post single and page only.</p>
<ul class="xoxo mgb" style="list-style-type:hiragana-iroha">
<li>body.wp-page</li>
<li>body.page-ID</li>
<li>body.wp-post</li>
<li>body.post-ID</li>
</ul>
<h5>CSS Example</h5>
<p><small class="db fr cf hilite-2">styling &#8220;single page&#8221; post.</small></p>
<pre class="smallbox cr">body&#46;wp&#45;single&#123;background&#45;color&#58;&#35;f6f6f6&#59;&#125;</pre>
<p><small class="db fr cf hilite-2">styling a single page with post ID 69.</small></p>
<pre class="smallbox cr">body&#46;single&#45;69&#123;background&#45;color&#58;&#35;f6f6f6&#59;&#125;</pre>
<p><small class="db fr cf hilite-2">styling custom page with post ID 42.</small></p>
<pre class="smallbox cr">body&#46;page&#45;42&#123;background&#45;color&#58;&#35;f6f6f6&#59;&#125;</pre>
<p><small class="db fr cf hilite-2">styling all custom page.</small></p>
<pre class="smallbox cr">body&#46;wp&#45;page&#123;background&#45;color&#58;&#35;f6f6f6&#59;&#125;</pre>
<h3>Wordpress 2.6.2</h3>
<p>I&#8217;m not sure why its not working thought. For WP 2.6.2, try the below code </p>
<pre class="prebox" style="height:400px">
// add inside functions.php
function post_selector_classname&#40;&#41;
&#123; global &#36;wp_query&#59;

	&#36;output &#61; &#39;wp&#45;&#39;&#59;

 if &#40;&#36;wp_query&#45;&#62;is_single &#124;&#124; &#36;wp_query&#45;&#62;is_page&#41; &#123;	 

	 &#36;pid &#61; &#36;wp_query&#45;&#62;post&#45;&#62;ID&#59;
	 &#36;post_type &#61; &#36;wp_query&#45;&#62;post&#45;&#62;post_type&#59; 

	 &#36;output &#46;&#61; &#36;post_type&#46;&#39; &#39;&#46;&#36;post_type&#46;&#39;&#45;&#39;&#46;&#36;pid&#59;
 &#125; elseif&#40;&#36;wp_query&#45;&#62;is_home&#41; &#123;
 		&#36;output &#46;&#61; &#39;home&#39;&#59;
 &#125;

 echo &#36;output&#59;
&#125;
</pre>
<p>call inside template (header.php)</p>
<pre class="smallbox">
&#60;body class&#61;&#34;&#60;&#63;php post_selector_classname&#40;&#41;&#59;&#63;&#62;&#34;&#62;
</pre>
<p>Refer <tt>query.php</tt> inside wp-includes folder for more WP hierarchical sections.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.kaizeku.com/wordpress/css-selector-base-on-post-type-and-post-id/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wp-iStalker 1.6 hidden theme options</title>
		<link>http://blog.kaizeku.com/wordpress/wp-istalker-16-hidden-theme-options/</link>
		<comments>http://blog.kaizeku.com/wordpress/wp-istalker-16-hidden-theme-options/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 03:59:04 +0000</pubDate>
		<dc:creator>Avice</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wpistalker]]></category>

		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.kaizeku.com/?p=182</guid>
		<description><![CDATA[There are more than ten hidden options in Wp-iStalker theme, these hidden options will be available if certain conditions are met. Checkout the requirements below

1. Blog header Advanced Customization


Upload any TTF fonts inside /themes/wp-istalker-%versions%-pb/public/fonts directory.
GD2 is enabled

2. Post layout avatar options

Enabled Avatar refer Admin > Settings > Discussion > Avatar Display

3. ICRA pics-ratings

Upload ICRA labels.rdf [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.kaizeku.com/wp-content/uploads/2008/07/crunchy.gif" alt="dont bother" title="crunchy" width="50" height="50" class="alignnone size-full wp-image-185" />There are more than ten hidden options in Wp-iStalker theme, these hidden options will be available if certain conditions are met. Checkout the requirements below</p>
<p><span id="more-182"></span></p>
<h5 class="cr">1. Blog header Advanced Customization</h5>
<p><a href='http://blog.kaizeku.com/wordpress/wp-istalker-16-hidden-theme-options/attachment/blog-header-customization/' rel="attachment wp-att-183"><img src="http://blog.kaizeku.com/wp-content/uploads/2008/07/blog-header-customization-300x218.png" alt="wp-istalker blog header customization" title="blog-header-customization" width="300" height="218" class="alignnone size-medium wp-image-183" /></a></p>
<ol class="xoxo cf mgb" style="list-style-type:hiragana-iroha">
<li>Upload any <span class="hilite-2">TTF</span> fonts inside <tt>/themes/wp-istalker-%versions%-pb/public/fonts</tt> directory.</li>
<li><a href="http://php.net/manual/en/book.image.php">GD2</a> is enabled</li>
</ol>
<h5>2. Post layout avatar options</h5>
<ol class="xoxo cf mgb" style="list-style-type:hiragana-iroha">
<li>Enabled Avatar <small>refer <tt>Admin > Settings > Discussion > Avatar Display</tt></small></li>
</ol>
<h5>3. ICRA pics-ratings</h5>
<ol class="xoxo cf mgb" style="list-style-type:hiragana-iroha">
<li>Upload <a href="http://www.icra.org">ICRA</a> <tt>labels.rdf</tt> inside your wordpress blog root directory.</li>
</ol>
<h5>4. Post layout relative date options</h5>
<ol class="xoxo cf mgb" style="list-style-type:hiragana-iroha">
<li>Activated <a href="http://binarybonsai.com/wordpress/time-since/">Dustan&#8217;s time since</a> plugin </li>
</ol>
<h5>5. ClaimID delegate meta link options</h5>
<ol class="xoxo cf mgb" style="list-style-type:hiragana-iroha">
<li>Valid microID hash</li>
</ol>
<h5>6. XRDS</h5>
<ol class="xoxo cf mgb" style="list-style-type:hiragana-iroha">
<li>Activated <a href="http://willnorris.com/projects/wp-openid">WP Openid</a> plugin.</li>
</ol>
<h5>7. Language alternate meta links</h5>
<ol class="xoxo cf mgb" style="list-style-type:hiragana-iroha">
<li>Activated <a href="http://www.nothing2hide.net/wp-plugins/wordpress-global-translator-plugin/">Global Translator</a> plugin.</li>
</ol>
<h5>8. Related post widget extra options</h5>
<ol class="xoxo cf mgb" style="list-style-type:hiragana-iroha">
<li>Activated &#8220;Related posts widget&#8221;.</li>
</ol>
<h5>9. A9 Open search auto-discovery</h5>
<ul class="xoxo cf mgb" style="list-style-type:hiragana-iroha">
<li>Make sure there is no <tt>osd.xml</tt> in your wordpress blog root directory</li>
<li>The theme public directory is writable <tt>/themes/wp-istalker-%versions%-pb/public/</tt></li>
</ul>
<h5>10. APC template options</h5>
<p class="r"><small>Premium versions only</small></p>
<ul class="xoxo cf mgb" style="list-style-type:hiragana-iroha">
<li>Enabled APC</li>
<li>Defined WP_CACHE constant inside wp-config.php</li>
<li>Upload APC <tt><a href="http://txfx.net/files/wordpress/apc-object-cache.phps">object-cache.php</a></tt> inside <tt>/wp-content/</tt> directory</li>
</ul>
<h5>11. Botnet Cloaking options</h5>
<p class="r"><small>Premium versions only</small></p>
<ul class="xoxo cf mgb" style="list-style-type:hiragana-iroha">
<li>Install <a href="http://www.crawltrack.fr">CrawlTrack</a> within the same wordpress database</li>
</ul>
<p><img src="http://blog.kaizeku.com/wp-content/uploads/2008/07/easter-egg.gif" alt="easter egg" title="easter-egg" width="30" height="26" class="alignnone size-full wp-image-184" /></p>]]></content:encoded>
			<wfw:commentRss>http://blog.kaizeku.com/wordpress/wp-istalker-16-hidden-theme-options/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Themes plugin dependencies</title>
		<link>http://blog.kaizeku.com/wordpress/themes-plugin-dependencies/</link>
		<comments>http://blog.kaizeku.com/wordpress/themes-plugin-dependencies/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 11:06:53 +0000</pubDate>
		<dc:creator>Avice</dc:creator>
		
		<category><![CDATA[Themes]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[hook]]></category>

		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://blog.kaizeku.com/?p=166</guid>
		<description><![CDATA[Wordpress Designer theme guide on implementing plugins for public release.]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.kaizeku.com/wp-content/uploads/2008/06/wordpress-theme-plugin-dependencies-preview-pin-up-by-chaoskaizer.png" alt="Wordpress theme plugin dependencies" title="wordpress-theme-plugin-dependencies-preview-pin-up-by-chaoskaizer" width="128" height="128" class="alignleft size-full wp-image-167 fl" />A good theme designer should avoid the need to relies on third party plugins.</p>
<h2>Is plugin deactivated</h2>
<p><img src="http://static4.animepaper.net/images/ck/tuzki/headslam.gif" width="70" height="50" alt="bunny" longdesc="/#" class="fr"/>Unfortunately, some WordPress theme out there has a &#8220;major pending headache&#8221; for <strong>plugin dependencies breakdown sydrome</strong>. Because of this un-friendly trends there is bound shit to happen when the specific plugin is not maintain properly or on certain case of a sudden WordPress upgrade render the plugin useless (this happen a lot when previous <abbr title="WordPress">WP</abbr> 2.3 release). </p>
<p>To make it worse some ignorant-end-user decide &#8220;not to&#8221; upgrade their WordPress blog because their favorites theme&#8217;s has this specific plugins that will only work with previous vulnerability WordPress version &amp; thus the never ending quotes war begin. </p>
<p><span id="more-166"></span></p>
<h3>Theme with Plugin dependencies</h3>
<p>From <strong>the smashing lists</strong> of <em>&#8220;<a href="http://www.smashingmagazine.com/2007/05/07/10-fresh-elegant-and-clean-wordpress-themes/" title="10 Fresh, Elegant and Clean Wordpress Themes">10 Fresh, Elegant and Clean Wordpress Themes</a>&#8220;</em> there is <strong>3</strong> out of 10 theme with plugins dependencies issue. These threesome is an experienced theme designer. How many wordpress theme with plugin dependencies is out there? </p>
<p>So what&#8217;s the point of having <dfn>clean &#038; elegant</dfn> theme if it doesn&#8217;t properly work and throw &#8220;Fatal Error&#8221; when certain plugin is deactivated. </p>
<h5>Similar issue</h5>
<p>Before you asked why you need to write better plugin support read on the following articles at <abbr title="Weblog Tools Collections">WTC</abbr>.</p>
<ul class="xoxo">
<li><a href="http://weblogtoolscollection.com/archives/2008/06/07/plugin-deactivation-issues-solved-with-actions-and-filters/">Plugin Deactivation Issues</a> by <em class="vcard di"><a href="http://www.ronalfy.com/" title="Ronal Huereca" class="url fn" rel="contact"><span class="family-name">Ronald</span> <span class="given-name">Huereca</span></a></em> </li>
<li> <a href="http://weblogtoolscollection.com/archives/2008/06/01/if-plugin-deactivation-breaks-your-blog/">If Plugin Deactivation Breaks Your Blog</a> by <em class="vcard di"><a href="http://www.jeffro2pt0.com/">Jeff Chandler</a> <span class="nickname dn">Jeffro2pt0</span></em>.</li>
</ul>
<hr/>
<h2>Introduction</h2>
<p>This guide is intent for WordPress theme designer in hope to improve theme quality and avoid plugin dependencies.</p>
<h3>Wordpress Hook</h3>
<p>As this is a &#8220;quick guide&#8221; so I wont cover this broad topics. It might take sometimes to understand the concept still its worth the time. You can read it at WordPress Codex &darr;</p>
<ul class="xoxo mgb pdb">
<li><a href="http://codex.wordpress.org/Plugin_API" class="ext">http://codex.wordpress.org/Plugin_API</a></li>
</ul>
<h3>Avoid Plugin dependencies best practice guide</h3>
<p>Lets assume you want to add <a href="http://lesterchan.net/" title="Lester GaMerZ Chan">Lester Chan</a> advanced pagination plugin (<a href="wordpress.org/extend/plugins/wp-pagenavi/">Wp-pagenavi</a>) in your theme.</p>
<h5>Fallback function</h5>
<p><big class="dropno">1<span>)</span></big> First we created a default function for the page navigation links (the next &#038; previous page links). Saved it inside <tt>functions.php</tt> in your theme folder <tt>/wp-content/themes/mytheme/</tt>.</p>
<p><small class="fr icn-r"><tt>functions.php</tt></small></p>
<pre class="prebox cr">
function wpi_post_link&#40;&#41;
&#123;
	next_posts_link&#40;__&#40;&#39;&#38;laquo&#59; Older Entries&#39;&#44;&#39;mytheme&#45;name&#39;&#41;&#41;&#59;
	echo &#39;&#38;nbsp&#59;&#39;&#59;
	previous_posts_link&#40;__&#40;&#39;Newer Entries &#38;raquo&#59;&#39;&#44;&#39;mytheme&#45;name&#39;&#41;&#41;&#59;
&#125;
</pre>
<p class="sticky"><small>Tips: to avoid duplicated function name conflict, its a good practice to have your own unique prefix for function name , <em>( i.e., wpi_get_time, themename_foo )</em></small></p>
<h5>HTML &amp; Action Hook Placement</h5>
<p><big class="dropno">2<span>)</span></big>Next we add our <strong>pagination hook</strong> <tt>(wpi_pagination)</tt> inside <tt>index.php</tt> templates ( &amp; similar templates files i.e., home.php, category.php, archive.php ) .</p>
<p><small class="fr icn-r"><tt>index.php</tt></small></p>
<pre class="prebox cr">
&#60;&#33;&#45;&#45; pagination &#45;&#45;&#62;
&#60;div id&#61;&#34;pagination&#34; class&#61;&#34;border clear&#45;both&#34;&#62;
&#60;&#63;php do_action&#40;&#39;wpi_pagination&#39;&#41;&#59;&#63;&#62;
&#60;&#47;div&#62;
</pre>
<p>Example using default (kubrick) wordpress theme <tt>index.php</tt> templates files.</p>
<p><small class="fr icn-r"><tt>(kubrick) index.php</tt></small></p>
<pre class="prebox cr">
&#60;&#63;php get_header&#40;&#41;&#59; &#63;&#62;

	&#60;div id&#61;&#34;content&#34; class&#61;&#34;narrowcolumn&#34;&#62;

	&#60;&#63;php if &#40;have_posts&#40;&#41;&#41; &#58; &#63;&#62;

		&#60;&#63;php while &#40;have_posts&#40;&#41;&#41; &#58; the_post&#40;&#41;&#59; &#63;&#62;

			&#60;div class&#61;&#34;post&#34; id&#61;&#34;post&#45;&#60;&#63;php the_ID&#40;&#41;&#59; &#63;&#62;&#34;&#62;
				&#60;h2&#62;&#60;a href&#61;&#34;&#60;&#63;php the_permalink&#40;&#41; &#63;&#62;&#34; rel&#61;&#34;bookmark&#34; title&#61;&#34;Permanent Link to &#60;&#63;php the_title_attribute&#40;&#41;&#59; &#63;&#62;&#34;&#62;&#60;&#63;php the_title&#40;&#41;&#59; &#63;&#62;&#60;&#47;a&#62;&#60;&#47;h2&#62;
				&#60;small&#62;&#60;&#63;php the_time&#40;&#39;F jS&#44; Y&#39;&#41; &#63;&#62; &#60;&#33;&#45;&#45; by &#60;&#63;php the_author&#40;&#41; &#63;&#62; &#45;&#45;&#62;&#60;&#47;small&#62;

				&#60;div class&#61;&#34;entry&#34;&#62;
					&#60;&#63;php the_content&#40;&#39;Read the rest of this entry &#38;raquo&#59;&#39;&#41;&#59; &#63;&#62;
				&#60;&#47;div&#62;

				&#60;p class&#61;&#34;postmetadata&#34;&#62;&#60;&#63;php the_tags&#40;&#39;Tags&#58; &#39;&#44; &#39;&#44; &#39;&#44; &#39;&#60;br &#47;&#62;&#39;&#41;&#59; &#63;&#62; Posted in &#60;&#63;php the_category&#40;&#39;&#44; &#39;&#41; &#63;&#62; &#124; &#60;&#63;php edit_post_link&#40;&#39;Edit&#39;&#44; &#39;&#39;&#44; &#39; &#124; &#39;&#41;&#59; &#63;&#62; &#60;&#63;php comments_popup_link&#40;&#39;No Comments &#38;&#35;187&#59;&#39;&#44; &#39;1 Comment &#38;&#35;187&#59;&#39;&#44; &#39;&#37; Comments &#38;&#35;187&#59;&#39;&#41;&#59; &#63;&#62;&#60;&#47;p&#62;
			&#60;&#47;div&#62;

		&#60;&#63;php endwhile&#59; &#63;&#62;

		&#60;&#33;&#45;&#45; pagination &#45;&#45;&#62;
		&#60;div id&#61;&#34;pagination&#34; class&#61;&#34;border clear&#45;both&#34;&#62;
		&#60;&#63;php do_action&#40;&#39;wpi_pagination&#39;&#41;&#59;&#63;&#62;
		&#60;&#47;div&#62;

	&#60;&#63;php else &#58; &#63;&#62;

		&#60;h2 class&#61;&#34;center&#34;&#62;Not Found&#60;&#47;h2&#62;
		&#60;p class&#61;&#34;center&#34;&#62;Sorry&#44; but you are looking for something that isn&#39;t here&#46;&#60;&#47;p&#62;
		&#60;&#63;php include &#40;TEMPLATEPATH &#46; &#34;&#47;searchform&#46;php&#34;&#41;&#59; &#63;&#62;

	&#60;&#63;php endif&#59; &#63;&#62;

	&#60;&#47;div&#62;

&#60;&#63;php get_sidebar&#40;&#41;&#59; &#63;&#62;

&#60;&#63;php get_footer&#40;&#41;&#59; &#63;&#62;
</pre>
<h5>is plugin active (optional)</h5>
<p><big class="dropno">3<span>)</span></big> For earlier version of WordPress <tt>(version 2.3.x &amp; below)</tt> you will need to add the following function.</p>
<p><small class="fr icn-r"><tt>functions.php</tt></small></p>
<pre class="prebox cr">if &#40;version_compare&#40;&#36;GLOBALS&#91;&#39;wp_version&#39;&#93;&#44; &#39;2&#46;5&#39;&#44; &#39;lt&#39;&#41;&#41;
&#123;
	function is_plugin_active&#40;&#36;plugin_filename&#41;
	&#123;
		&#36;plugins &#61; get_option&#40;&#39;active_plugins&#39;&#41;&#59;

			if&#40; &#33;is_array&#40;&#36;plugins&#41; &#41; settype&#40;&#36;plugins&#44;&#39;array&#39;&#41;&#59;			

		return &#40; in_array&#40;&#36;plugin_filename&#44; &#36;plugins&#41; &#41; &#59;
	&#125;
&#125;
</pre>
<h5>Register Action Hook</h5>
<p><big class="dropno">4<span>)</span></big> Open your <tt>wp-content/themes/mytheme/functions.php</tt> and add the below code.</p>
<p><small class="fr icn-r"><tt>functions.php</tt></small></p>
<pre class="prebox cr">
add_action&#40;&#39;wpi_pagination&#39;&#44;
		 &#40; is_plugin_active&#40;&#39;wp&#45;pagenavi&#47;wp&#45;pagenavi&#46;php&#39;&#41; &#41; &#63;
		 &#39;wp_pagenavi&#39; &#58; &#39;wpi_post_link&#39; &#41;&#59;
</pre>
<h3>Download example code</h3>
<ul class="xoxo">
<li>Note: There is a file embedded within this post, please visit this post to download the file.</li>
</ul>
<h2>Conclusion</h2>
<p>If you are one&#8217;s of those aspiring WP theme designer <em>&#8220;do try&#8221;</em> not to depend on third party plugins and avoid using the below phrase if possible</p>
<blockquote cite="http://blog.kaizeku.com/abou#cite"><p>&#8220;requires the following plugins to work &#8230;&#8221;</p>
</blockquote>
<p>A public release theme should be &#8220;clean from plugin dependencies&#8221; and let the end user decide what plugins they need and should have.</p>
<h2>External Links</h2>
<ul class="xoxo">
<li><a href="http://codex.wordpress.org/Plugin_API/Action_Reference" class="ext">WordPress Codex: Plugin API &rarr; Action Reference</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://blog.kaizeku.com/wordpress/themes-plugin-dependencies/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WPI Cross Browser Support</title>
		<link>http://blog.kaizeku.com/wordpress/wpi-cross-browser-support/</link>
		<comments>http://blog.kaizeku.com/wordpress/wpi-cross-browser-support/#comments</comments>
		<pubDate>Mon, 19 May 2008 10:48:51 +0000</pubDate>
		<dc:creator>Avice</dc:creator>
		
		<category><![CDATA[Themes]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wpistalker]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[hook]]></category>

		<category><![CDATA[Internet Browser]]></category>

		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.kaizeku.com/?p=150</guid>
		<description><![CDATA[Wp-iStalker Cross browser CSS &#38; Scripts Guide.]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.kaizeku.com/wp-content/uploads/2008/05/istalker-css-autoload1.png" alt="istalker-css-autoload1" title="istalker-css-autoload1" width="128" height="128" class="alignleft size-full wp-image-152 fl" longdesc="http://blog.kaizeku.com/wordpress/wpi-cross-browser-supportwpi-cross-browser-support/"/> If you are frustrated that certain <abbr title="Wp-iStalker">WPI</abbr> version <small>(i.e., public &#038; beta)</small> doesn&#8217;t support MSIE. I intentionally did that (just) to annoyed Microhoo and the rest of MSIE users (that is 70% of internet population). </p>
<h2>Cross Browser Autoload</h2>
<p>Before you stalked me, WPI WordPress theme has a build in function for auto-loading cross browser stylesheet and script files. This function is available since our first release. </p>
<h5>How to load Browser specific CSS &#038; Scripts?</h5>
<p>We asume you are using the crappy broken MSIE 6 browser running on Windows XP.<br />
When WPI theme load it will look for specific stylesheet &#038; script files like below list. </p>
<ul>
<li>stylesheet &rarr; <tt>/themes/wp-istalker/css/ &darr;</tt>
<ol>
<li>ie.css</li>
<li>ie-6.css</li>
<li>winxp.css</li>
</ol>
</li>
<li>javascript &rarr; <tt>/themes/wp-istalker/scripts/ &darr;</tt>
<ol>
<li>ie.js</li>
<li>ie-6.js</li>
<li>winxp.js</li>
</ol>
</li>
</ul>
<p>If any of the files exists, It will queue the specific files and append it to the master file then proceed with minified &rarr; crunch &rarr; combine &rarr; gzip or deflate (if the ua allowed it) and send it to the browser as a single file. Walla<br />
<span id="more-150"></span><br />
Depend on the user <abbr title="User Agent">UA</abbr> the complete files will be cached inside the the following cache directory.</p>
<ul>
<li>/themes/wp-istalker/cache/css/*.css.compression-type</li>
<li>/themes/wp-istalker/cache/scripts/*.js.compression-type</li>
</ul>
<p>the combine files can be found at </p>
<ul>
<li>/themes/wp-istalker/css/combine-md5hash.css</li>
<li>/themes/wp-istalker/scripts/combine-md5hash.js</li>
</ul>
<h5>how to check for browser versions number?</h5>
<p>Its a bit tricky to know the correct name and version numbers, here&#8217;s how I do it. </p>
<p>Go to your blog frontpage and look inside the source code body-tag. On the <em>&#8220;class&#8221;</em> attribute you can find something similar like the below example. &darr;</p>
<pre class="smallbox">&#60;body id&#61;&#34;wpi&#45;blog&#45;kaizeku&#45;com&#34; class&#61;&#34;wp&#45;home firefox firefox&#45;20 winxp &#45;foaf&#45;Document&#34;&#62;</pre>
<p>If you have <strong>firebug </strong> &rarr; <tt>console.log($(&#8217;body&#8217;).attr(&#8217;class&#8217;) );</tt></p>
<p>code break:</p>
<ol>
<li><strong>wp-home</strong> &rarr; <a href="#section" title="Section References">Section </a>, Refer <a href="http://codex.wordpress.org/Template_Hierarchy#Visual_Overview" title="Wordpress Template Hierarchy Visual Overview" class="ext">WordPress Template Hierarchy</a></li>
<li><strong>firefox</strong> &rarr; Browser name</li>
<li><strong>firefox-2</strong> &rarr; Browser name &amp; Major Version numbers.</li>
<li><strong>winxp </strong> &rarr; OS platform</li>
</ol>
<p class="sticky">for variant of gecko base engine (i.e., prism, flock, seamonkey,mozilla suite) it will just show it as &#8220;mozilla mozilla-19 winxp&#8221; or something similar.</p>
<p>just to see how clever this go, you can used this wonderful root body browser-class-name CSS selector to create different CSS styling/tweak for cross browser like so &darr;</p>
<pre class="prebox">
body.safari div.hentry{
 position:relative; top: -10px; min-height:400px
}
body.ie-6 div.hentry{
 height:auto;height:450px
}
body.opera div.hentry{
 min-height: 500px
}
</pre>
<h2>The CSS files Ordering</h2>
<p>Inheritance is very important factor in CSS. Below is list of files sort by number starting from top to bottom. </p>
<pre class="smallbox">
&#64;import url&#40;&#39;&#47;wp&#45;content&#47;themes&#47;wp&#45;istalker&#47;icecream&#46;css&#44;auth&#46;css&#44;single&#46;css&#44;lang&#46;css&#44;firefox&#46;css&#44;winxp&#46;css&#39;&#41;&#59;
</pre>
<ol>
<li><strong>icecream.css</strong> &rarr; global css (style.css) load at all page include in this file is our blueprint.css (blueprint framework css), image.css.
<p class="sticky">I prefer delicious filename more than generic :) .</p>
</li>
<li><strong>auth.css</strong> &rarr; this file will be loaded if you are registered user.</li>
<li><strong>single.css</strong> &rarr; section files
<p class="sticky"><strong id="section">sections:</strong> home.css, single.css, attachment.css, page.css, search.css, archive.css, category.css, tag.css, year.css, month.css, day.css, 404.css etc.. </p>
</li>
<li><strong>plugins &#038; widgets</strong> &rarr; supported plugins and widgets file will be append here (i.e., wp-pagenavi, openid, global translator, wpseo, wpstats)</li>
<li><strong>firefox</strong> &rarr; browser name specific stylesheets</li>
<li><strong>firefox-2</strong> &rarr; it get more specific. </li>
<li><strong>platform</strong> &rarr; os/platform base stylesheets. good for declaring supporting fonts class </li>
<li><strong>extra_css</strong> - filter hook wpi_css_import_array </li>
</ol>
<h5>Custom Hook</h5>
<p>Hook for each of the import files &rarr; wpi_css_import_<strong>$int </strong><br />
<strong>$int</strong> &rarr; 1 to 7</p>
<p>notes<br />
if you want to append a file just after the <em>section</em> css you will used &#8216;wpi_css_import_2&#8242; as hook. I wont cover the how part in this guide. check out Wordpress Codex if neeed too.</p>
<p class="sticky">If you are on MSIE6, this page will render in XML ;p. Not my fault really, This site has valid xhtml, CSS 2.1 , xhtml/xml, WCAG A1 &#038; Section 508. Your browser just pwned too much propriety language to survive</p>
<p><em>Support the standards so it will continue to look good in the future.</em> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.kaizeku.com/wordpress/wpi-cross-browser-support/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WPI Gravatar shortcode</title>
		<link>http://blog.kaizeku.com/wordpress/wpi-gravatar-shortcode/</link>
		<comments>http://blog.kaizeku.com/wordpress/wpi-gravatar-shortcode/#comments</comments>
		<pubDate>Sat, 17 May 2008 19:47:44 +0000</pubDate>
		<dc:creator>Avice</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[shortcode]]></category>

		<category><![CDATA[wpistalker]]></category>

		<category><![CDATA[filter]]></category>

		<category><![CDATA[gravatar]]></category>

		<category><![CDATA[hook]]></category>

		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.kaizeku.com/?p=148</guid>
		<description><![CDATA[Gravatar shortcode references for wpistalker theme]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.kaizeku.com/wp-content/uploads/2008/05/wpistalker-gravatar-shortcode.png" alt="wpistalker-gravatar-shortcode" title="wpistalker-gravatar-shortcode" width="128" height="128" class="alignleft size-full wp-image-149 fl" />Wp-iStalker (WPI) theme has plenty of undocumented shortcode i.e., redirect, cropper, hcard, just to name a few. </p>
<h2>Notes</h2>
<p class="sticky">WPI gravatar used SPAN and <abbr title="Cascading Style Sheets">CSS</abbr> inheritance instead of the normal image &#60;img&#62; tag. It may seem a bit weird in term of normal coding standard. But this implementation will save you some bandwidth and rendering time in the long run. Data embed is also part of <abbr title="Hyper Text Markup Language">HTML</abbr> 5 draft work in progress ([wpi_redirect href="http://www.whatwg.org/specs/web-apps/current-work/#embedded0" title="Html 5 Data Embed"]data embed[/wpi_redirect]).</p>
<p><span id="more-148"></span></p>
<h2>Avatar Shortcode</h2>
<pre class="smallbox">&#91;wpi_avatar attribute&#61;&#34;value&#34;&#93;Content&#91;&#47;wpi_avatar&#93;</pre>
<h5>Content:</h5>
<p>A comma separate value.</p>
<ol>
<li><span class="fw">Email</span> &rarr; valid <a href="http://gravatar.com" title="gravatar" class="ext">Gravatar</a> Email (e.g., billgates@microsoft.com)
<p>Invalid or wrong email will be replace with [wpi_redirect href="http://scott.sherrillmix.com/blog/blogger/wp_identicon/"]wp-identicon[/wpi_redirect] geometrical avatar.</p>
</li>
<li><strong>Size</strong> &rarr; 35
<p>size range from 15 to 150 (multiples of 5 - 15,20,25 .. 100)</p>
</li>
</ol>
<h5>Attributes:</h5>
<p>An attribute-value pairs. Default value as follow.</p>
<ol>
<li><strong>title </strong> &rarr; gravatar</li>
<li><strong>align </strong> &rarr; left
<p> possible value : left, right, center &#038; none</p>
</li>
<li><strong>url </strong>&rarr; null
<p>link the avatar <small>(Embed with hcard/microid format)</small></p>
</li>
</ol>
<h2>Example Galore</h2>
<ol>
<li>
<h4>simple gravatar shortcode</h4>
<pre class="smallbox">&#91;wpi_avatar&#93;sakurab&#64;somewhere&#46;org&#91;&#47;wpi_avatar&#93;</pre>
<hr />
[wpi_avatar]is.b.e@hotmail.com,35[/wpi_avatar] Gravatar aims to put a face behind the name. This is the beginning of trust. In the future, Gravatar will be a way to establish trust between producers and consumers on the internet. It will be the next best thing to meeting in person. ~ <a href="http://en.gravatar.com/site/about" class="ext">about gravatar</a>
</li>
<li class="pdt">
<h4>blank gravatar shortcode (identicon)</h4>
<pre class="smallbox">&#91;wpi_avatar&#93;1.618&#91;&#47;wpi_avatar&#93;</pre>
<hr />
<p>[wpi_avatar]1.618[/wpi_avatar]Identicons allow visual representations of commenters without requiring any external sites or user interactions. With 40 possible shapes (about 70 with inversions) in 3 possible positions, around 8000 distinguishable colors and four different rotations for each part, there should be several billion possible shape combinations &#8230; ~ [wpi_redirect href="http://scott.sherrillmix.com/blog/blogger/wp_identicon/" title="wp_identicon"]wp-identicon[/wpi_redirect]</p>
</li>
<li>
<h4>full gravatar shortcode</h4>
<pre class="smallbox">&#91;wpi_avatar url&#61;&#34;http&#58;&#47;&#47;gravatar&#46;com&#34; align&#61;&#34;right&#34; title&#61;&#34;Microhoo&#34;&#93;hbill&#46;gates&#64;gmail&#46;com&#44;40&#91;&#47;wpi_avatar&#93;</pre>
<hr />
<p>[wpi_avatar url="http://en.gravatar.com/site/privacy" align="right" title="Microhoo"]hbill.gates@gmail.com,40[/wpi_avatar]Gravatar.com collects your email address as part of the gravatar service. We will never rent, sell, or otherwise distribute or make public your email address. We hate spam as much as you do. The way gravatar requests are structured, your email address is encrypted before transmission. Your email address cannot be harvested from gravatar enabled sites due to gravatar requests. We take your privacy seriously. ~ [wpi_redirect href="http://en.gravatar.com/site/privacy" title="Gravatar police"]Gravatar Policy[/wpi_redirect]</p>
</li>
</ol>
<h2 class="cb">Custom Hook</h2>
<p>Filter Hook for wpi_avatar shortcode. </p>
<pre>wpi_avatar_shortcode</pre>
<p>Return raw html output.<br />
<small>see: <tt>KaizekuShortCode::avatarCallback()</tt>. </small></p>
<h2>External Links</h2>
<ul>
<li>Must read &rarr; <a href="http://codex.wordpress.org/Shortcode_API#Limitations" class="ext">Wordpress Shortcode Limitation</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://blog.kaizeku.com/wordpress/wpi-gravatar-shortcode/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WPI Redirect Shortcode</title>
		<link>http://blog.kaizeku.com/wordpress/redirect-shortcode/</link>
		<comments>http://blog.kaizeku.com/wordpress/redirect-shortcode/#comments</comments>
		<pubDate>Sat, 17 May 2008 08:22:23 +0000</pubDate>
		<dc:creator>Avice</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wpistalker]]></category>

		<category><![CDATA[hook]]></category>

		<category><![CDATA[redirect]]></category>

		<category><![CDATA[SEO]]></category>

		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.kaizeku.com/?p=146</guid>
		<description><![CDATA[Wp-iStalker redirect shortcode references.]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.kaizeku.com/wp-content/uploads/2008/05/wpistalker-redirect-wp-shortcode.png" alt="Wp-iStalker Redirect Shortcode" title="wpistalker-redirect-wp-shortcode" width="128" height="128" class="alignleft size-full wp-image-147 fl" longdesc="/#content" />Simple shortcode for making safe external redirect. Made this for those <abbr title="SEO Aware">SEOware</abbr> user.</p>
<h2>introduction</h2>
<p>Wordpress 2.5 introduce new function for adding shortcode <small>(aka bbcode)</small>. A simple set of functions for creating macro codes for use in post content. It just make developing plugins much easier and neat. If you want to digg more about WordPress shortcode check out the [wpi_redirect href="http://codex.wordpress.org/Shortcode_API"]WordPress Codex Shortcode API[/wpi_redirect] . </p>
<p><span id="more-146"></span></p>
<h3 class="cb">Shortcode</h3>
<pre class="smallbox">&#91;wpi_redirect attribute&#61;&#34;value&#34;&#93;text&#91;&#47;wpi_redirect&#93;</pre>
<h5>attributes:</h5>
<p>with default values</p>
<ul class="pdb">
<li>href &#61; #content</li>
<li>title &#61; redirect</li>
<li>rel &#61; external noarchive</li>
<li>class &#61; curie</li>
</ul>
<p class="notice">if there is no &#8220;text&#8221; the default value is &#8220;Link&#8221;.</p>
<h3>Example</h3>
<p>redirect links to <em>wordpress.org</em></p>
<pre class="smallbox">&#91;wpi_redirect href&#61;&#34;http&#58;&#47;&#47;wordpress&#46;org&#34; rel&#61;&#34;noarchive&#34;&#93;WordPress.org&#91;&#47;wpi_redirect&#93;</pre>
<p>results &rarr; [wpi_redirect href="http://wordpress.org" rel="noarchive"]WordPress.org[/wpi_redirect]</p>
<h3>Wp-iStalker Custom Wordpress Hook</h3>
<p>The WordPress Filter Hook for our redirect shortcode. </p>
<pre>wpi_redirect_shortcode</pre>
<p>This hook return raw html output.<br />
<small>see: <tt>KaizekuShortCode::redirectCallback()</tt>. </small></p>
<h2>Lo, the do and dont</h2>
<ul>
<li>
<h5 class="title-">When to used redirect links?</h5>
<p>This depends on your content &#038; context as whole. If the external sites that you are linking doesn&#8217;t have any weight with your content. So is best to used redirect links instead of the normal links. </p>
</li>
<li>
<h5 class="title-">When NOT to used redirect links?</h5>
<p>I&#8217;ve encounter some damaging issue with certain Wordpress Translation Plugins. Because of the relative links, the translation scripts might create a local cache of the external sites in your server. Its a complete mirror of wasted sources. so beware. You might get penalized for duplicate content proxy hacking. scarry.</p>
</li>
</ul>
<h2>External Links</h2>
<ul>
<li>Must read &rarr; <a href="http://codex.wordpress.org/Shortcode_API#Limitations">Shortcode Limitation</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://blog.kaizeku.com/wordpress/redirect-shortcode/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
