<?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>TransformationPowerTools</title>
	<atom:link href="http://www.transformationpowertools.com/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.transformationpowertools.com/wordpress</link>
	<description>for personal growth and transformation</description>
	<lastBuildDate>Mon, 08 Mar 2010 09:51:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>troubleshooting wordpress themes</title>
		<link>http://www.transformationpowertools.com/wordpress/troubleshooting-wordpress-themes</link>
		<comments>http://www.transformationpowertools.com/wordpress/troubleshooting-wordpress-themes#comments</comments>
		<pubDate>Wed, 03 Mar 2010 18:39:03 +0000</pubDate>
		<dc:creator>alchymyth</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[administrator]]></category>
		<category><![CDATA[categories]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.transformationpowertools.com/wordpress/?p=695</guid>
		<description><![CDATA[here is a little trick if you need to check some variables, or try something new in your wordpress theme while the site is live.
use a conditional if statement to check that you are logged in as the original administrator, and only then do what you need to do. this way you can perform and display the neccesary tests, without the public seing anything.
&#60;?php
if ('1' == $user_ID) :
      echo &#039;you  ... &#187; <small><a href="http://www.transformationpowertools.com/wordpress/troubleshooting-wordpress-themes">read more</a></small> &#187;]]></description>
			<content:encoded><![CDATA[<p>here is a little trick if you need to check some variables, or try something new in your wordpress theme while the site is live.<br />
use a conditional if statement to check that you are logged in as the original administrator, and only then do what you need to do. this way you can perform and display the neccesary tests, without the public seing anything.</p>
<p><code>&lt;?php<br />
if ('1' == $user_ID) :<br />
      echo &#039;you are logged in - this will not be shown to the public: &lt;br/&gt;&lt;br/&gt;&#039;;<br />
&nbsp;  // test routine begin //<br />
echo &#039;cat-id , cat-slug , cat-name , number of posts &lt;br/&gt;&lt;br/&gt;&#039;;<br />
$categories=  get_categories(&#039;&#039;);<br />
  foreach ($categories as $cat) {<br />
  	echo $cat-&gt;cat_ID.&#039; , &#039;.$cat-&gt;category_nicename.&#039; , &#039;.$cat-&gt;cat_name.&#039; , &#039;.$cat-&gt;category_count.&#039;&lt;br/&gt;&#039;;<br />
	  }<br />
&nbsp; // test routine ends //<br />
echo &#039;&lt;br/&gt;end of logged in section &lt;br/&gt;&#039;;<br />
endif; ?&gt;<!--formatted--></code></p>
<p>in this example, i displayed a full list of all categories with id, slug, and name.</p>
<p>the wordpress back-end (dashboard) is generally a good place to work, however for developers, some lists don&#8217;t show all the variables or parameters that would be useful for programming custom displays or functions. for instance, the IDs of posts, pages, categories, tags, etc. are not easily found in the back-end.</p>
<p>you can (and sometimes need to) build your own code snippets to show them on the spot where you are working with them.<br />
this avoids a lot of guesswork.</p>
<p>and now you know how to hide these displays from public view. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.transformationpowertools.com/wordpress/troubleshooting-wordpress-themes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multi-Column Grid-Style Posts in WordPress</title>
		<link>http://www.transformationpowertools.com/wordpress/multi-column-wordpress-template</link>
		<comments>http://www.transformationpowertools.com/wordpress/multi-column-wordpress-template#comments</comments>
		<pubDate>Fri, 29 Jan 2010 11:33:36 +0000</pubDate>
		<dc:creator>alchymyth</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[3 column post]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[columns]]></category>
		<category><![CDATA[grid layout]]></category>
		<category><![CDATA[grid style]]></category>
		<category><![CDATA[magazine style]]></category>
		<category><![CDATA[multi-column]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[portofolio]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[thumbnail grid]]></category>
		<category><![CDATA[wordpress forum]]></category>
		<category><![CDATA[wordpress loop]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://www.transformationpowertools.com/wordpress/?p=517</guid>
		<description><![CDATA[following question comes up regularly in the wordpress support forum: &#8216;i want to show my posts in three (four, five) columns, how can i do it?&#8217;
here, i am going  to present yet another solution: a flexible core structure to allow any number of columns with any number of rows, limited only by screen space, readability and fantasy&#8230;
the structure (for instance 3 columns, 4 rows, 12 or more posts):
 1  5   9
 2  ... &#187; <small><a href="http://www.transformationpowertools.com/wordpress/multi-column-wordpress-template">read more</a></small> &#187;]]></description>
			<content:encoded><![CDATA[<p>following question comes up regularly in the wordpress support forum: &#8216;i want to show my posts in three (four, five) columns, how can i do it?&#8217;</p>
<p>here, i am going  to present yet another solution: a flexible core structure to allow <strong>any</strong> number of columns with <strong>any </strong>number of rows, limited only by screen space, readability and fantasy&#8230;<br />
<div id="attachment_683" class="wp-caption aligncenter" style="width: 522px"><img src="http://www.transformationpowertools.com/wordpress/wp-content/uploads/2010/01/grid-style-template-512x375.jpg" alt="a three column grid category template" title="grid-style-template" width="512" height="375" class="size-large wp-image-683" /><p class="wp-caption-text">a three column grid category template</p></div></p>
<p>the structure (for instance 3 columns, 4 rows, 12 or more posts):<br />
<code> 1  5   9<br />
 2  6  10<br />
 3  7  11<br />
 4  8  12</code></p>
<p>the structure (for instance 3 columns, 4 rows, less than 12 posts, i.e. 7):<br />
<code> 1  4  6<br />
 2  5  7<br />
 3           </code></p>
<p>i&#8217;ll begin with a step by step introduction into the concept: </p>
<ol>
<li>setting of variables</li>
<li>query_posts</li>
<li>calculate rows</li>
<li>loop 1 &#8211; the columns</li>
<li>the wordpress loop &#8211; the rows</li>
<li>page navigation</li>
</ol>
<p>1. setting the variables:<br />
<code>$set_number_of_columns = 3; // enter numbers of columns here;<br />
$set_number_of_rows = 3; // enter numbers of rows here<br />
$set_showpost = $set_number_of_columns * $set_number_of_rows ;<br />
</code></p>
<p>2. query_posts:<br />
<code>global $query_string;<br />
$paged = (get_query_var(&#039;paged&#039;)) ? get_query_var(&#039;paged&#039;) : 1;<br />
query_posts($query_string.&#039;&amp;showposts=&#039;.$set_showpost.&#039;&amp;paged=&#039;.$paged);<br />
<!--formatted--></code></p>
<p>3. calculate rows:<br />
<code>// make adjustment to get three equaly long columns even on last paged page<br />
// get number of posts for this,<br />
$num_of_posts = $wp_query-&gt;post_count;<br />
// divide by $set_number_of_columns to get number per column,<br />
// round up to next integer to make $ppc posts per column variable, or $set_number_of_rows whatever is smaller<br />
$ppc = min(ceil($num_of_posts/$set_number_of_columns),$set_number_of_rows);<br />
// calculates number of rows, i.e. showposts for the following query_posts and get_posts<br />
<!--formatted--></code></p>
<p>4. loop 1 &#8211; the columns:<br />
<code>&lt;?php for ( $col = 1; $col &lt;= $set_number_of_columns; $col += 1) { ?&gt;<br />
&lt;div class=&quot;col&lt;?php echo $col; ?&gt;&quot;&gt;<br />
&lt;?php $row = 1;<br />
$noffset = ($col -1) * $ppc + ($paged - 1) * $set_showpost ; //calculate offset parameter if paged ?&gt;<br />
<!--formatted--></code></p>
<p>5. wordpress loop &#8211; the rows and posts:<br />
<code>&lt;?php $posts = get_posts($query_string.&#039;&amp;numberposts=&#039;.$ppc.&#039;&amp;offset=&#039;.$noffset); foreach ($posts as $post) : start_wp(); ?&gt;<br />
&lt;div id=&quot;post-&lt;?php the_ID(); ?&gt; class=&quot;post row&lt;?php echo $row; ?&gt;&quot;&gt;<br />
&lt;?php //output all post related data, i.e. date, title, content/excerpt, postmetadata, tags, etc. // ?&gt;<br />
&lt;/div&gt; &lt;!--closing .post div --&gt;<br />
<!--formatted--></code></p>
<p>6. page navigation:<br />
<code>&lt;div class=&quot;navigation&quot;&gt;<br />
&lt;div class=&quot;alignleft&quot;&gt;&lt;?php next_posts_link(&#039;&amp;laquo; Older Entries&#039;) ?&gt;&lt;/div&gt;<br />
&lt;div class=&quot;alignright&quot;&gt;&lt;?php previous_posts_link(&#039;Newer Entries &amp;raquo;&#039;) ?&gt;&lt;/div&gt;<br />
&lt;/div&gt;<br />
<!--formatted--></code></p>
<p>here is the full code:</p>
<div style="height:300px; overflow-y:auto; border:2px solid #fff; ">
<code>&lt;?php get_header(); ?&gt;<br />
&lt;?php<br />
// code to display a number of posts in multi columns top-to-bottom left-to-right<br />
?&gt;<br />
&lt;?php global $query_string; ?&gt;<br />
&lt;?php<br />
$set_number_of_columns = 2; // enter numbers of columns here;<br />
$set_number_of_rows = 4; // enter numbers of rows here<br />
$set_showpost = $set_number_of_columns * $set_number_of_rows ;<br />
//setup query with parameter for paged<br />
$paged = (get_query_var(&#039;paged&#039;)) ? get_query_var(&#039;paged&#039;) : 1;<br />
query_posts($query_string.&#039;&amp;showposts=&#039;.$set_showpost.&#039;&amp;paged=&#039;.$paged);<br />
// get number of posts for this,<br />
$num_of_posts = $wp_query-&gt;post_count;<br />
// make adjustment for paged to get three equaly long columns even on last paged page<br />
// divide by $set_number_of_columns to get number per column,<br />
// round up to next integer to make $ppc posts per column variable, or $set_number_of_rows whatever is smaller<br />
$ppc = min(ceil($num_of_posts/$set_number_of_columns),$set_number_of_rows);<br />
// calculates number of rows, i.e. showposts for the following query_posts and get_posts<br />
?&gt;<br />
&lt;?php for ( $col = 1; $col &lt;= $set_number_of_columns; $col += 1) { ?&gt;<br />
&lt;div class=&quot;col&lt;?php echo $col;?&gt;&quot;&gt;<br />
&lt;?php<br />
$row = 1;<br />
$noffset = ($col -1) * $ppc + ($paged - 1) * $set_showpost ; //calculate offset parameter if paged<br />
$posts = get_posts($query_string.&#039;&amp;numberposts=&#039;.$ppc.&#039;&amp;offset=&#039;.$noffset);<br />
foreach ($posts as $post) : start_wp(); ?&gt;<br />
&lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; class=&quot;post row-&lt;?php echo ($row%2); ?&gt;&quot;&gt;<br />
&lt;!-- start of anything to do with post --&gt;<br />
&lt;h2&gt;<br />
&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;<br />
&lt;div class=&quot;storycontent&quot;&gt;<br />
	&lt;?php the_excerpt(__(&#039;(more...)&#039;)); ?&gt;<br />
&lt;/div&gt;<br />
&lt;!-- end of anything to do with post --&gt;<br />
&lt;/div&gt; &lt;!-- end #post --&gt;<br />
&lt;?php<br />
$row++;<br />
endforeach; ?&gt;<br />
&lt;/div&gt;<br />
&lt;?php } ?&gt;<br />
&lt;?php // close the for-loop // ?&gt;<br />
		&lt;div class=&quot;navigation&quot;&gt;<br />
			&lt;div class=&quot;alignleft&quot;&gt;&lt;?php next_posts_link(&#039;&amp;laquo; Older Entries&#039;) ?&gt;&lt;/div&gt;<br />
			&lt;div class=&quot;alignright&quot;&gt;&lt;?php previous_posts_link(&#039;Newer Entries &amp;raquo;&#039;) ?&gt;&lt;/div&gt;<br />
		&lt;/div&gt;<br />
&lt;?php get_footer(); ?&gt;<br />
<!--formatted--></code>
</div>
<p>the naming of the css classes is:<br />
class .col1 for the first column; class .col2 for the second column; and so forth.<br />
same thing for the rows: class .row1 for the posts in first row, on so on.<br />
going with this code is the css:<br />
<code>.col1, .col2 {float:left; width:49%; }</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.transformationpowertools.com/wordpress/multi-column-wordpress-template/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hyperlinks in wordpress image captions</title>
		<link>http://www.transformationpowertools.com/wordpress/hyperlinks-in-wordpress-image-captions</link>
		<comments>http://www.transformationpowertools.com/wordpress/hyperlinks-in-wordpress-image-captions#comments</comments>
		<pubDate>Sun, 17 Jan 2010 14:24:23 +0000</pubDate>
		<dc:creator>alchymyth</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[blogging software]]></category>
		<category><![CDATA[caption]]></category>
		<category><![CDATA[filter function]]></category>
		<category><![CDATA[hyperlinks]]></category>
		<category><![CDATA[image caption]]></category>
		<category><![CDATA[link in caption]]></category>
		<category><![CDATA[php function]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[string manipulation]]></category>
		<category><![CDATA[theme modification]]></category>

		<guid isPermaLink="false">http://www.transformationpowertools.com/wordpress/?p=618</guid>
		<description><![CDATA[have a look at the image above and check the link within the image caption.
nice feature?
as many of you might have experienced before, the image caption function of wordpress filters all html content, including any attempts to insert  links.
however, this functionality would come very handy, if you want to credit the copyright owner of the image (which could obviously be yourself) by providing a one-click connection to their website.

the convention to insert the link into  ... &#187; <small><a href="http://www.transformationpowertools.com/wordpress/hyperlinks-in-wordpress-image-captions">read more</a></small> &#187;]]></description>
			<content:encoded><![CDATA[<div id="attachment_626" class="wp-caption aligncenter" style="width: 522px"><img class="size-large wp-image-626" title="million_dollar" src="http://www.transformationpowertools.com/wordpress/wp-content/uploads/2010/01/million_dollar-512x207.png" alt="one million dollars, copyright silkandart" width="512" height="207" /><p class="wp-caption-text">one million dollars, copyright © <a href="http://www.silkandart.com">silkandart</a>, a source of inspirational art on silk</p></div>
<p>have a look at the image above and check the link within the image caption.<br />
nice feature?<br />
as many of you might have experienced before, the image caption function of wordpress filters all html content, including any attempts to insert  links.</p>
<p>however, this functionality would come very handy, if you want to credit the copyright owner of the image (which could obviously be yourself) by providing a one-click connection to their website.<br />
<span id="more-618"></span><br />
the convention to insert the link into the caption text is:<br />
&#8216;text before the link ##http://www.linkurl.com##link text## text after the link&#8217;.<br />
multiple links are possible.</p>
<p>i have choosen the double ## because it does not get filtered from the caption text and is very unlikely to be part of any normal caption.</p>
<p>here follows the code of the function:</p>
<p><code>add_shortcode('wp_caption', 'LinkInCaption');<br />
add_shortcode('caption', 'LinkInCaption');<br />
function LinkInCaption($attr, $content = null) {<br />
// Allow plugins/themes to override the default caption template.<br />
// to place a link in the caption you need to use following convention:<br />
// 'text before link ##http://linkurl##linktext## text after link '  //<br />
// more than one link allowed<br />
// this function DOES NOT CHECK FOR CORRECT SYNTAX, i.e. the correct number of ##<br />
// thanks to: @sagemintblue http://wordpress.org/support/profile/3715429 for the main function code<br />
// text manipulation by: @alchymyth<br />
$output = apply_filters('img_caption_shortcode', '', $attr, $content);<br />
if ( $output != '' ) return $output;<br />
extract(shortcode_atts(array(<br />
'id'=&gt; '',<br />
'align'	=&gt; 'alignnone',<br />
'width'	=&gt; '',<br />
'caption' =&gt; ''), $attr));<br />
if ( 1 &gt; (int) $width || empty($caption) )<br />
return $content;<br />
$text=explode('##',$caption);<br />
if( count($text) &gt;= 3 ) :<br />
$outtext=$text[0]; //start with the caption text to the left of the first ##<br />
for($i=1; $i&lt;count($text); $i=$i+3):<br />
// add the link html codes to the respective places<br />
$outtext = $outtext.'&lt;a href="'.$text[$i].'"&gt;'.$text[$i+1].'&lt;/a&gt;'.$text[$i+2];<br />
endfor;<br />
$caption = $outtext;<br />
endif; // end of the caption manipulation<br />
if ( $id ) $id = 'id="' . esc_attr($id) . '" ';<br />
return '&lt;div ' . $id . 'class="wp-caption ' . esc_attr($align)<br />
. '" style="width: ' . ((int) $width+10) . 'px"&gt;'<br />
. do_shortcode( $content ) . '&lt;p class="wp-caption-text"&gt;'<br />
. $caption . '&lt;/p&gt;&lt;/div&gt;';<br />
}<br />
<!--formatted--></code></p>
<p>don&#8217;t worry, the caption will look awful in the editor window, but should render nicely in the browser.<br />
a very small side effect at this stage is that the image caption text appears in the alt text of the image the way you type it, including ## and link url.<br />
the plugin does not check for the correctness of the input.</p>
<p>i would like to encourage you to explore the possibilities of the wordpress filters and functions on your own &#8211; nearly any idea can be realized by exploiting them.</p>
<p><strong><em>be safe and use a virus scanner before downloading or installing any software</em></strong></p>
<p>i managed to put the function into a plugin &#8211; <a href="http://transformationpowertools.com/HyperlinkCaption.zip">HyperlinkCaption.zip</a> &#8211; under the terms of the GNU General Public License:</p>
<blockquote><p>This program is free software; you can redistribute it and/or modify<br />
it under the terms of the GNU General Public License as published by<br />
the Free Software Foundation; either version 2 of the License, or<br />
(at your option) any later version.</p>
<p>This program is distributed in the hope that it will be useful,<br />
but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br />
GNU General Public License for more details.</p></blockquote>
<blockquote><p>code is poetry &#8211; code is alchemy</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.transformationpowertools.com/wordpress/hyperlinks-in-wordpress-image-captions/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>zebra style wordpress loop</title>
		<link>http://www.transformationpowertools.com/wordpress/zebra-style-wordpress-loop</link>
		<comments>http://www.transformationpowertools.com/wordpress/zebra-style-wordpress-loop#comments</comments>
		<pubDate>Thu, 14 Jan 2010 00:50:58 +0000</pubDate>
		<dc:creator>alchymyth</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[alternating styles]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[custom theme]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[logic]]></category>
		<category><![CDATA[modification]]></category>
		<category><![CDATA[php code]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[theme adaptation]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress loop]]></category>

		<guid isPermaLink="false">http://www.transformationpowertools.com/wordpress/?p=591</guid>
		<description><![CDATA[to start, i would like to express my thanks and gratitude to all the volunteers in the wordpress forum who patiently and freely give their time and attention, and share their knowledge and experience with all the users coming with questions and problems about their wordpress installation and modifications.
a great community.
lists or posts styled with alternating color backgrounds, for instance, can inprove the readability of blogs.
most themes and the standard wordpress installation are not offering  ... &#187; <small><a href="http://www.transformationpowertools.com/wordpress/zebra-style-wordpress-loop">read more</a></small> &#187;]]></description>
			<content:encoded><![CDATA[<p>to start, i would like to express my thanks and gratitude to all the volunteers in the <a href="http://wordpress.org/support/">wordpress forum</a> who patiently and freely give their time and attention, and share their knowledge and experience with all the users coming with questions and problems about their wordpress installation and modifications.<br />
a great community.</p>
<p>lists or posts styled with alternating color backgrounds, for instance, can inprove the readability of blogs.</p>
<p>most themes and the standard wordpress installation are not offering this feature.<br />
however, it is easy to implement, when you know how.</p>
<p>for example we could give alternating posts within the &#8216;wordpress loop&#8217; a different extra class (&#8217;odd&#8217; or &#8216;even&#8217;) which can then be used with css.<br />
to begin with, we introduce a counter ($c = 0;) before the loop, increment it inside the loop ($c++), and generate a class depending on the number of the counter by checking the modulus 2 of the number ($c % 2 &#8211; modulus is the remainder of the division):</p>
<p><code>&lt;?php $c = 0 ; ?&gt;<br />
&lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;<br />
&lt;?php $c++;<br />
if( $c % 2 == 0 ) $extra_class = &#039; even&#039;;<br />
else $extra_class = &#039; odd&#039;; ?&gt;<br />
&lt;div class=&quot;post &lt;?php echo $extra_class; ?&gt;&quot;&gt;<br />
&lt;!--typical stuff in the loop--&gt;<br />
&lt;/div&gt;<br />
&lt;?php endwhile; ?&gt;<br />
&lt;?php else : endif; ?&gt;<br />
<!--formatted--></code> </p>
<p>the class &#8216;odd&#8217; or &#8216;even&#8217; can be used in the style.css to create different background colors, alignments, margins, paddings, font-styles &#8211; no limits.</p>
<p>the most basic application of this method with a counter is how to style the first post in the loop different (only showing the logic part of the code):<br />
<code>&lt;?php $c++;<br />
if( $c == 1 ) $extra_class = &#039; first&#039;;<br />
else $extra_class = &#039;&#039;; ?&gt;<!--formatted--></code></p>
<p>to make it more interesting, the next example is to create three different styles and a special style for the last post on the page.<br />
we can get the number of the last post with <code>$wp_query-&gt;post_count <!--formatted--></code>.<br />
The structure is the same, the main difference is in the &#8216;if, elseif, else&#8217; logic:<br />
<code>&lt;?php $c++;<br />
if( $c == $wp_query-&gt;post_count ) $extra_class = &#039; last&#039;;<br />
elseif( $c % 3 == 0 ) $extra_class = &#039; three&#039;;<br />
elseif( $c % 3 == 2 ) $extra_class = &#039; two&#039;;<br />
elseif( $c % 3 == 1 ) $extra_class = &#039; one&#039;;<br />
?&gt;<!--formatted--></code></p>
<p>you can extend this method to create any number of cyclic classes.</p>
<p>and you can use it in any situation in your wordpress templates, where you loop through some output &#8211; lists, foreach, for, while, posts, comments, &#8230; </p>
<p>special thanks to <a href="http://profiles.wordpress.org/esmi/">@esmi</a> who dared venturing into the realm of more than two alternating styles, and who inspired me to post this article.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.transformationpowertools.com/wordpress/zebra-style-wordpress-loop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wp default theme in 3 columns</title>
		<link>http://www.transformationpowertools.com/wordpress/wp-default-theme-3-columns</link>
		<comments>http://www.transformationpowertools.com/wordpress/wp-default-theme-3-columns#comments</comments>
		<pubDate>Sat, 02 Jan 2010 22:37:45 +0000</pubDate>
		<dc:creator>alchymyth</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[3 column]]></category>
		<category><![CDATA[3 column default theme]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[dynamic sidebars]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[widget ready]]></category>
		<category><![CDATA[wordpress default]]></category>

		<guid isPermaLink="false">http://www.transformationpowertools.com/wordpress/?p=462</guid>
		<description><![CDATA[Part of my time, I am spending designing and troubleshooting wordpress themes.

This is my latest &#8216;hack&#8217;, turning the default theme that comes with every wordpress installation, into a 3 column version, with equal sized left and right sidebar columns, all dynamic and widget ready.
All functions of the default theme are fully preserved. You can still modify the header colours from within the dashboard.
All files and graphics zipped for download. A great start for learning to  ... &#187; <small><a href="http://www.transformationpowertools.com/wordpress/wp-default-theme-3-columns">read more</a></small> &#187;]]></description>
			<content:encoded><![CDATA[<p>Part of my time, I am spending designing and troubleshooting wordpress themes.</p>
<p><img class="aligncenter size-full wp-image-464" title="3 column kubrick theme" src="http://www.transformationpowertools.com/wordpress/wp-content/uploads/2010/01/screenshot.png" alt="3 column kubrick theme" width="357" height="225" /></p>
<p>This is my latest &#8216;hack&#8217;, turning the default theme that comes with every wordpress installation, into a 3 column version, with equal sized left and right sidebar columns, all dynamic and widget ready.</p>
<p>All functions of the default theme are fully preserved. You can still modify the header colours from within the dashboard.</p>
<p>All files and graphics zipped for <a href="http://www.mediafire.com/download.php?kzikmywnmjn">download</a>. A great start for learning to mod your own theme.</p>
<p>At last a &#8216;default&#8217; wordpress theme that fills the width of my laptop&#8217;s monitor <img src='http://www.transformationpowertools.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Update: horizontal page navigation below the header included.</p>
<p>To activate it, edit header.php and  remove the commenting where indicated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.transformationpowertools.com/wordpress/wp-default-theme-3-columns/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Water Filter Benefits</title>
		<link>http://www.transformationpowertools.com/wordpress/water-filter-benefits</link>
		<comments>http://www.transformationpowertools.com/wordpress/water-filter-benefits#comments</comments>
		<pubDate>Mon, 07 Sep 2009 11:59:23 +0000</pubDate>
		<dc:creator>dr michael</dc:creator>
				<category><![CDATA[Health]]></category>
		<category><![CDATA[Benefits]]></category>
		<category><![CDATA[chlorinated water]]></category>
		<category><![CDATA[dehydrated]]></category>
		<category><![CDATA[domestic]]></category>
		<category><![CDATA[drinking water]]></category>
		<category><![CDATA[Filter]]></category>
		<category><![CDATA[filtered water]]></category>
		<category><![CDATA[health benefits]]></category>
		<category><![CDATA[lead pipes]]></category>
		<category><![CDATA[residential]]></category>
		<category><![CDATA[tap water]]></category>
		<category><![CDATA[Water]]></category>
		<category><![CDATA[water faucet]]></category>
		<category><![CDATA[water quality]]></category>
		<category><![CDATA[water tap]]></category>
		<category><![CDATA[waterfilter]]></category>

		<guid isPermaLink="false">http://www.transformationpowertools.com/wordpress/?p=225</guid>
		<description><![CDATA[All processes within your cells are depending on water in one way or another. Also, your bodies are made to two-thirds out of water. So, it is no wonder that you depend on a constant supply of drinking water, and that dehydration can cause all sorts of illnesses or diseases, or can make you feel bad. 
Drinking enough clean pure water every day is so important to your health that one doctor wrote a whole  ... &#187; <small><a href="http://www.transformationpowertools.com/wordpress/water-filter-benefits">read more</a></small> &#187;]]></description>
			<content:encoded><![CDATA[<p>All processes within your cells are depending on water in one way or another. Also, your bodies are made to two-thirds out of water. So, it is no wonder that you depend on a constant supply of drinking water, and that dehydration can cause all sorts of illnesses or diseases, or can make you feel bad. <a href="http://www.domesticwaterfilter.com/" target="_blank"><br />
Drinking enough clean pure water</a> every day is so important to your health that one doctor wrote a whole book about it: ‘Your Body’s Many Cries for Water’ by Dr. F. Batmaghelidj. </p>
<blockquote><p>Disclaimer: This article is not designed to provide medical advice or professional services. It is intended to be for educational use only. The information provided in this article is not a substitute for professional care and should not be used for diagnosing or treating a health problem or a disease. If you have, or suspect you may have, a health problem you should consult your doctor.</p></blockquote>
<p>And obviously the quality and purity of your drinking water is of highest importance. You can imagine that drinking polluted water is not going to help your body to improve its health. I am going to emphasize the benefits of drinking pure or &#8211; as it is in reality &#8211; of purified filtered water by pointing out the negative health impact of common contaminants in tap water. Although water companies are regulated and have to control the quality of the water they supply to your home, there are limits in how the water companies have to treat the tap water, resulting in residual contamination.<span id="more-225"></span></p>
<p><img class="aligncenter size-full wp-image-230" title="waterbanner5" src="http://www.transformationpowertools.com/wordpress/wp-content/uploads/2009/08/waterbanner5.jpg" alt="waterbanner5" width="474" height="133" /></p>
<h4>Sediments and Turbidity</h4>
<p>Often considered more a nuisance than a health threat, sediments and turbidity, very small particles, in your tap water can spoil the enjoyment of drinking water. Turbidity can come from various origins and can make the water taste ‘metallic’ or ‘foul’. It can also stain the sink or bath tub. </p>
<h4>Chlorine</h4>
<p>This is the main chemical that water companies add to your tap water to kill micro-organisms and bacteria to prevent the spread of waterborne diseases. The same chlorine is the active ingredient in bleach, a very aggressive chemical. Also, you may remember the smell and feel of chlorine in water from the public swimming pool &#8211; and also how it made your eyes itch. Now, it is interesting that chlorine is not even the most effective chemical to treat drinking water &#8211; but the cheapest. The reaction of chlorine with other contaminants in tap water can cause the generation of chloroform and other trihalomethanes THMs, a group of chemicals suspected to cause cancer and are linked to a higher rate of birth defects. Your body is particularly exposed to the chlorine, when your are taking a hot shower, and when your skin and lungs open up to the the hot water and the vapours.</p>
<h4>Heavy Metals</h4>
<p>Recent surveys found lead in the tap water of over nine out of ten households. Lead is a heavy metal that accumulates in the body and leads to nervous defects. Lead pipes have been used in the past for house plumbing systems, and may still be installed if you have a house more than 20 years old. Copper from the water pipes is less dangerous and will only get into the drinking water in areas with soft, acidic water supplies.</p>
<h4>Cysts and Other Microorganism</h4>
<p>The most dangerous micro-organisms in tap water are Cryptosporidium and Giardia. These micro-organisms are just 4 microns small, so they can pass through the filter systems of the water companies, and they can survive the chlorine desinfection of tap water. They can cause severe stomach upsets and diarrhea. An infection can be fatal for someone with a weakness to the immune system, i.e. the very young or the elderly.</p>
<h4>Chemical Contaminants</h4>
<p>Pesticides, herbicides, volatile organic compounds VOCs, pharmaceuticals, solvents, and others, are also found in tap water. They come from run-offs from farms and industrial operations. Over 2000 contaminants have been found in tap water, and many of these are carcinogenic. Of course, usually the levels of these chemicals are quite low &#8211; below the legal levels &#8211; but nobody really knows what effects so many chemicals at the same time can have on the human body. The filter systems of most water companies are not fully equipped to remove all of these chemicals.</p>
<h4>What Can You Do?</h4>
<p>Just be aware of the whole list of substances that can be in your tap water. They all can have negative effects on your health. To filter these out before you drink the tap water, you have to use a state-of-the-art multi-stage water filter system, like the ones you can read about in <a href="http://www.domesticwaterfilter.com" target="_blank">www.domesticwaterfilter.com</a>. These filter systems leave the healthy minerals calcium, magnesium, and potassium, and also sulfates and carbonates, in the water, as they can be found in natural clean spring water. These minerals not only contribute to the good taste of clean water, they are also vital for many bodily processes.</p>
<p><strong>A domestic water filter is a must for any health conscious person.</strong></p>
<p>Please consider those who are less fortunate to have clean drinking water available:</p>
<blockquote><p>Roughly one sixth of the worlds population &#8211; 1.1 billion people &#8211; do not have access to safe water.<br />
<a href="http://www.wateraid.org/">water charity: wateraid </a><br />
and<br />
<a href="http://www.justadrop.org/">water charity: justadrop</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.transformationpowertools.com/wordpress/water-filter-benefits/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Layers to Enlightenment</title>
		<link>http://www.transformationpowertools.com/wordpress/layers-to-enlightenment</link>
		<comments>http://www.transformationpowertools.com/wordpress/layers-to-enlightenment#comments</comments>
		<pubDate>Fri, 07 Aug 2009 00:22:50 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Personal Development]]></category>
		<category><![CDATA[agreement]]></category>
		<category><![CDATA[archaeology]]></category>
		<category><![CDATA[energy]]></category>
		<category><![CDATA[enlightenment]]></category>
		<category><![CDATA[layer]]></category>

		<guid isPermaLink="false">http://www.transformationpowertools.com/wordpress/?p=193</guid>
		<description><![CDATA[SHREK: No! Layers! Onions have layers. Ogres have layers. Onions have layers. You get it? We both have layers.
The obstacles that separate us from enlightenment also form layers of various energetic composition &#8211; and have to be dealt with individually with specialized methods &#8211; there is no panacea!
If you have read &#8216;The Four Agreements&#8217; by Don Miguel Ruiz, you might know that your reactions are guided by the way you agreed, at a very early  ... &#187; <small><a href="http://www.transformationpowertools.com/wordpress/layers-to-enlightenment">read more</a></small> &#187;]]></description>
			<content:encoded><![CDATA[<blockquote><p>SHREK: No! Layers! Onions have layers. Ogres have layers. Onions have layers. You get it? We both have layers.</p></blockquote>
<p>The obstacles that separate us from enlightenment also form layers of various energetic composition &#8211; and have to be dealt with individually with specialized methods &#8211; there is no panacea!</p>
<p>If you have read &#8216;The Four Agreements&#8217; by Don Miguel Ruiz, you might know that your reactions are guided by the way you agreed, at a very early age, to certain pattern and conditioning by those whom you trusted to be superior to yourself.<br />
Every single one of these agreements forms a layer.</p>
<p>Every time we make one of these agreements, it removes us further away from who we really are. As we grow older, these agreements form layer after layer after layer &#8230;.</p>
<p>Each of these layers can have very different &#8216;energy&#8217; to it.</p>
<p>To make my point clear, let me go over to the physical world and compare this to archaeology &#8211; some ancient artifact is covered by different layers of debris, mud, slime, hard crusts, rubbish, concrete, more slime, scrap metal, compost, gravel, &#8230;&#8230;&#8230;</p>
<p>To get that cleared and removed to get to the core, the ancient artefact, you would need to use more than one single method &#8211; particular as you don&#8217;t want to risk and damage the core.</p>
<p>You would start with a heavy excavator to remove the rubble, then use a pick-axe and spade, and the little trowels. You can then investigate what you have unearthed, and try to make sense of it. If you are satisfied with your explanation, this layer is no longer of any interest to you, and you proceed with the next one.</p>
<p>The next layer can have a totally different structure and composition.</p>
<p>( more to come &#8230;<br />
- - - work in progress )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.transformationpowertools.com/wordpress/layers-to-enlightenment/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sustainability &#8216;Without the Hot Air&#8217;</title>
		<link>http://www.transformationpowertools.com/wordpress/sustainability-without-the-hot-air</link>
		<comments>http://www.transformationpowertools.com/wordpress/sustainability-without-the-hot-air#comments</comments>
		<pubDate>Sun, 02 Aug 2009 10:48:17 +0000</pubDate>
		<dc:creator>dr michael</dc:creator>
				<category><![CDATA[Power and Energy]]></category>
		<category><![CDATA[emissions]]></category>
		<category><![CDATA[energy]]></category>
		<category><![CDATA[energy saving]]></category>
		<category><![CDATA[kWh/d]]></category>
		<category><![CDATA[sustainability]]></category>

		<guid isPermaLink="false">http://www.transformationpowertools.com/wordpress/?p=179</guid>
		<description><![CDATA[At last someone talking in understandable figures: the book by David JC MacKay, 2009, &#8216;Without the Hot Air&#8217;, explaines sustainable anergy and the sources of the daily energy consumption in easy chunks.
If you want to discuss sustainability further, you can download the book for free at www.withouthotair.com, and you can also buy it as hardback or paperback, for £45 or £19.99, resp.
To give you an idea of the tone of his book, here is a  ... &#187; <small><a href="http://www.transformationpowertools.com/wordpress/sustainability-without-the-hot-air">read more</a></small> &#187;]]></description>
			<content:encoded><![CDATA[<p>At last someone talking in understandable figures: the book by <strong>David JC MacKay</strong>, 2009, <strong>&#8216;Without the Hot Air&#8217;</strong>, explaines sustainable anergy and the sources of the daily energy consumption in easy chunks.</p>
<p>If you want to discuss sustainability further, you can download the book for free at <a href="http://www.withouthotair.com/"><strong>www.withouthotair.com</strong></a>, and you can also buy it as hardback or paperback, for £45 or £19.99, resp.</p>
<p>To give you an idea of the tone of his book, here is a quote from the 10-page pdf synopsis:</p>
<blockquote><p>Turning phone chargers off is a feeble gesture, like bailing the Titanic with a teaspoon. The widespread inclusion of “switching off phone chargers” in lists of “10 things you can do” is a bad thing, because it distracts attention from more-effective actions that people could be taking.</p></blockquote>
<p>&#8211;<br />
David J.C. MacKay. Sustainable Energy – without the hot air.<br />
UIT Cambridge, 2008. ISBN 978-0-9544529-3-3. Available free online<br />
from <a href="http://www.withouthotair.com">www.withouthotair.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.transformationpowertools.com/wordpress/sustainability-without-the-hot-air/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Love</title>
		<link>http://www.transformationpowertools.com/wordpress/love</link>
		<comments>http://www.transformationpowertools.com/wordpress/love#comments</comments>
		<pubDate>Fri, 31 Jul 2009 11:58:19 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Personal Development]]></category>
		<category><![CDATA[buddha]]></category>
		<category><![CDATA[love]]></category>
		<category><![CDATA[quote]]></category>

		<guid isPermaLink="false">http://www.transformationpowertools.com/wordpress/?p=169</guid>
		<description><![CDATA[You yourself, as much as anybody in the entire universe, deserve your love and affection.

The Buddha

]]></description>
			<content:encoded><![CDATA[<blockquote><h3>You yourself, as much as anybody in the entire universe, deserve your love and affection.</h3>
</blockquote>
<p>The Buddha</p>
<p><img src="http://www.transformationpowertools.com/wordpress/wp-content/uploads/2009/07/buddha_meditation-512x570.jpg" alt="buddha_meditation" title="buddha_meditation" width="512" height="570" class="alignleft size-large wp-image-171" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.transformationpowertools.com/wordpress/love/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress as a Model of Human Consciousness</title>
		<link>http://www.transformationpowertools.com/wordpress/wordpress-as-a-model-of-human-consciousness</link>
		<comments>http://www.transformationpowertools.com/wordpress/wordpress-as-a-model-of-human-consciousness#comments</comments>
		<pubDate>Wed, 29 Jul 2009 12:40:36 +0000</pubDate>
		<dc:creator>dr michael</dc:creator>
				<category><![CDATA[Personal Development]]></category>
		<category><![CDATA[consciousness]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[human]]></category>
		<category><![CDATA[human mind]]></category>
		<category><![CDATA[mind and ego]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[subconsciousness]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.transformationpowertools.com/wordpress/?p=50</guid>
		<description><![CDATA[Many researchers of the human mind have already tried to explain some aspects of the workings of the mind and ego by analogy of a computer.
This holds true also for an open source program such as wordpress.
I will put it this way: the wordpress software, ie. the core program, is the subconsciousness. We know it is there, but generally we are not aware of it and don&#8217;t understand how it works. And, unless something goes  ... &#187; <small><a href="http://www.transformationpowertools.com/wordpress/wordpress-as-a-model-of-human-consciousness">read more</a></small> &#187;]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-55" title="matrix" src="http://www.transformationpowertools.com/wordpress/wp-content/uploads/2009/07/matrix.jpg" alt="matrix" width="75" height="502" />Many researchers of the human mind have already tried to explain some aspects of the workings of the mind and ego by analogy of a computer.</p>
<p>This holds true also for an open source program such as wordpress.</p>
<p>I will put it this way: the wordpress software, ie. the core program, is the subconsciousness. We know it is there, but generally we are not aware of it and don&#8217;t understand how it works. And, unless something goes wrong, we don&#8217;t really want to know.</p>
<p>And in a way, you could see that all the programmers and organizers of wordpress.org  as an open source software  are a kind of  &#8217;creator&#8217; who is well above all and who has put all this out for us to work with. This is not unlike some interpretation of G.O.D. (greater organized design) who made us but also gave us the freedom and intelligence to change the program.</p>
<p>Now, there a many many thousands of blogs out there, using wordpress.org software to program there own way of expression.</p>
<p>What every blog software does, is to take a lot of input in (the posts, pages, articles, pictures and so) and arrange and present them in a way that is personal and special for the individual (programmer).<br />
<span id="more-50"></span><br />
In wordpress, these are the php-files, such as index.php, single.php, functions.php, comments.php, and so on.</p>
<p>This is analogue to the conscious mind which does exactly the same &#8211; gathering input (through our senses), storing it (memory),  sorting it, and creating specific output, based on a hidden program.</p>
<p>The &#8217;sorting program&#8217; is build upon past experiences, ways we accepted from our parents, teachers, the society, religion, and so forth.</p>
<p>Think of the primary output as the HTML code that is generated by the wordpress php files. If you look at that on a screen, it seems pretty &#8216;bland&#8217;, uniform, not very interesting.</p>
<p>This is where the themes of wordpress come in: they individualize the output in a way that is again personal to the individual designing them. They add the CSS styles, and make the output colorful, creative, enjoyable (or not, if you don&#8217;t like the theme).</p>
<p>(Look up <a href="http://www.csszengarden.com/" target="_blank">CSS Zen Garden </a>if you are not familiar with css.)</p>
<p>Again, i like to compare this to the human mind. The ego will use its &#8216;css style sheet&#8217; and &#8216;color&#8217; any message it receives from the mind, and will give it an individual meaning.</p>
<p>Just present a piece of information to a group of people and watch how they react &#8211; you can be sure to get a whole range of different reactions.</p>
<p>The good thing with this model is, that we have the power and opportunity to change the programs, the php files, the themes, the css at any time.</p>
<p>As a programmer &#8211; and we all are our own programmers ! (even if we don&#8217;t like the programming results) &#8211; you can adapt the wordpress files, change your theme, and tweak the style sheets at any time.</p>
<p>This is the fantastic opportunity when you host your own wordpress blog (ie. when you are an individual in control of your life), it gives you control over &#8216;consciousness, mind, and ego&#8217;, to stay within the model.</p>
<p>Those who run the free blogs on wordpress.com, on the contrary, have not this level of control. They have to use what they get offered by somebody else (ie. the makers of wordpress.com, the filter programs that filter all the html input in the posts, the providers of the free themes you can choose from, and so on). They have a limited choice of  &#8216;conscious decisions&#8217;, &#8216;ways of expression&#8217;, &#8216;influence&#8217;.</p>
<p>Sounds very familiar with real life, where the expression of the &#8216;masses&#8217; are pre-programmed and limited by a small elite (tv and media, politicians, church, tradition, teachers, &#8230;).</p>
<p>Coming back to the beginning of this post, where I compared the wordpress software with the subconsciousness, I hold the vision that when enough conscious people (programmers) join and work together, they can change the very core programming of the consciousness, the subconsciousness of mankind &#8211; also known as &#8216;common consciousness&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.transformationpowertools.com/wordpress/wordpress-as-a-model-of-human-consciousness/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
