<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Comments on: How To: Display Your WordPress Category List in Multiple Columns</title>
	<atom:link href="http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/</link>
	<description>News, plugins and themes for blogging applications</description>
	<lastBuildDate>Fri, 10 Feb 2012 01:07:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Alex Barber &#124; Digital Artist &#124; WordPress category list in columns</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-255862</link>
		<dc:creator>Alex Barber &#124; Digital Artist &#124; WordPress category list in columns</dc:creator>
		<pubDate>Wed, 25 Jan 2012 22:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-255862</guid>
		<description>[...] http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multip... [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multip.." rel="nofollow">http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multip..</a>. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wordpress Web Designer</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-255632</link>
		<dc:creator>Wordpress Web Designer</dc:creator>
		<pubDate>Sat, 14 Jan 2012 00:19:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-255632</guid>
		<description>Great post. Is there a way to just show the children of those categories (within columns)? Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Great post. Is there a way to just show the children of those categories (within columns)? Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AkashArora</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-254864</link>
		<dc:creator>AkashArora</dc:creator>
		<pubDate>Thu, 22 Dec 2011 13:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-254864</guid>
		<description>thanks for this post but can you tell me where did i need to add this code in order to show categories in columns</description>
		<content:encoded><![CDATA[<p>thanks for this post but can you tell me where did i need to add this code in order to show categories in columns</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chicago painter</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-253637</link>
		<dc:creator>Chicago painter</dc:creator>
		<pubDate>Thu, 10 Nov 2011 03:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-253637</guid>
		<description>Any help for people who don&#039;t know how  and where to change the code. I just wanted to sort my post in two categories and to have them in my main menu.</description>
		<content:encoded><![CDATA[<p>Any help for people who don&#8217;t know how  and where to change the code. I just wanted to sort my post in two categories and to have them in my main menu.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-251946</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 17 Aug 2011 17:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-251946</guid>
		<description>Really handy thanks, tried to do something similar but was getting frustrated until saw this... echo=0 in one of the arguments within wp_list_categories.

That was the real turning point for me as hadn&#039;t noticed it on the api.</description>
		<content:encoded><![CDATA[<p>Really handy thanks, tried to do something similar but was getting frustrated until saw this&#8230; echo=0 in one of the arguments within wp_list_categories.</p>
<p>That was the real turning point for me as hadn&#8217;t noticed it on the api.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cadar Marius</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-251857</link>
		<dc:creator>Cadar Marius</dc:creator>
		<pubDate>Tue, 02 Aug 2011 06:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-251857</guid>
		<description>Thank you, i needed this for my footer because i have more then 30 categories !</description>
		<content:encoded><![CDATA[<p>Thank you, i needed this for my footer because i have more then 30 categories !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webveins.in</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-251436</link>
		<dc:creator>webveins.in</dc:creator>
		<pubDate>Wed, 06 Jul 2011 04:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-251436</guid>
		<description>I found your article very helpful. Thanks for sharing it.</description>
		<content:encoded><![CDATA[<p>I found your article very helpful. Thanks for sharing it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-250288</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Sat, 18 Jun 2011 10:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-250288</guid>
		<description>Never mind. I found the solution already ;)</description>
		<content:encoded><![CDATA[<p>Never mind. I found the solution already <img src='http://www.bloggingpro.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-250283</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Sat, 18 Jun 2011 09:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-250283</guid>
		<description>Great code and very usefull for a project I&#039;m working on. Using get_categories instead of wp_list_categories, I was even able to make links inactive that don&#039;t have posts yet.

The only extra thing that would be a very nice addition is the adding of the first letter of the categories as a way of making the lists more readable. So, the adding of A, B, D etc above the categories with those starting letters. Could this be added to your code?</description>
		<content:encoded><![CDATA[<p>Great code and very usefull for a project I&#8217;m working on. Using get_categories instead of wp_list_categories, I was even able to make links inactive that don&#8217;t have posts yet.</p>
<p>The only extra thing that would be a very nice addition is the adding of the first letter of the categories as a way of making the lists more readable. So, the adding of A, B, D etc above the categories with those starting letters. Could this be added to your code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to Display Categories In Two or More Columns in Wordpress &#124; TechInfo Blog</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-243115</link>
		<dc:creator>How to Display Categories In Two or More Columns in Wordpress &#124; TechInfo Blog</dc:creator>
		<pubDate>Wed, 02 Feb 2011 20:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-243115</guid>
		<description>[...] Thanks: bloggingpro [...]</description>
		<content:encoded><![CDATA[<p>[...] Thanks: bloggingpro [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shane</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-243086</link>
		<dc:creator>shane</dc:creator>
		<pubDate>Tue, 01 Feb 2011 17:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-243086</guid>
		<description>is there a way to implement this with authors instead of categories?

Sorry, i&#039;m very new to this. Any help would be greatly appreciated!</description>
		<content:encoded><![CDATA[<p>is there a way to implement this with authors instead of categories?</p>
<p>Sorry, i&#8217;m very new to this. Any help would be greatly appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh N</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-243038</link>
		<dc:creator>Josh N</dc:creator>
		<pubDate>Sun, 30 Jan 2011 21:17:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-243038</guid>
		<description>Cut off the top of my code again - here it is minus the PHP call:


// Grab the categories - top level only (depth=1)
 $get_cats = wp_list_pages(&#039;title_li=&amp;child_of=&#039;.$post-&gt;ID.&#039;&amp;echo=0&#039;);
// Split into array items</description>
		<content:encoded><![CDATA[<p>Cut off the top of my code again &#8211; here it is minus the PHP call:</p>
<p>// Grab the categories &#8211; top level only (depth=1)<br />
 $get_cats = wp_list_pages(&#8216;title_li=&amp;child_of=&#8217;.$post-&gt;ID.&#8217;&amp;echo=0&#8242;);<br />
// Split into array items</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh N</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-243037</link>
		<dc:creator>Josh N</dc:creator>
		<pubDate>Sun, 30 Jan 2011 21:16:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-243037</guid>
		<description>Cut off the top of my code:

ID.&#039;&amp;echo=0&#039;);
// Split into array items</description>
		<content:encoded><![CDATA[<p>Cut off the top of my code:</p>
<p>ID.&#8217;&amp;echo=0&#8242;);<br />
// Split into array items</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh N</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-243036</link>
		<dc:creator>Josh N</dc:creator>
		<pubDate>Sun, 30 Jan 2011 21:15:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-243036</guid>
		<description>I used this to split up the display of child pages on their respective parent pages - worked like a charm - thank you!

See my modified code below:

ID.&#039;&amp;echo=0&#039;);
// Split into array items
 $cat_array = explode(&#039;&#039;,$get_cats);
// Amount of categories (count of items in array)
 $results_total = count($cat_array);
// How many categories to show per list (round up total divided by 3)
 $cats_per_list = ceil($results_total / 3);
// Counter number for tagging onto each list
 $list_number = 1;
// Set the category result counter to zero
 $result_number = 0;
?&gt;

&lt;ul class=&quot;subcats&quot; id=&quot;cat-col-&quot;&gt;
 
    &lt;?php
        foreach($cat_array as $category) {
        $result_number++;
 
        if($result_number % $cats_per_list == 0) {
        $list_number++;
        echo $category.&#039;
        
 
        &#039;;
 
    }
 
    else {
 
        echo $category.&#039;&#039;;
 
        }
 
    } ?&gt;
 
</description>
		<content:encoded><![CDATA[<p>I used this to split up the display of child pages on their respective parent pages &#8211; worked like a charm &#8211; thank you!</p>
<p>See my modified code below:</p>
<p>ID.&#8217;&amp;echo=0&#8242;);<br />
// Split into array items<br />
 $cat_array = explode(&#8221;,$get_cats);<br />
// Amount of categories (count of items in array)<br />
 $results_total = count($cat_array);<br />
// How many categories to show per list (round up total divided by 3)<br />
 $cats_per_list = ceil($results_total / 3);<br />
// Counter number for tagging onto each list<br />
 $list_number = 1;<br />
// Set the category result counter to zero<br />
 $result_number = 0;<br />
?&gt;</p>
<p>&lt;ul class=&quot;subcats&quot; id=&quot;cat-col-&#8221;&gt;</p>
<p>    &lt;?php<br />
        foreach($cat_array as $category) {<br />
        $result_number++;</p>
<p>        if($result_number % $cats_per_list == 0) {<br />
        $list_number++;<br />
        echo $category.&#039;</p>
<p>        &#8216;;</p>
<p>    }</p>
<p>    else {</p>
<p>        echo $category.&#8221;;</p>
<p>        }</p>
<p>    } ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-242739</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Tue, 18 Jan 2011 17:52:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-242739</guid>
		<description>I come back to point something. 
My script is better for 2-3 columns, yours for &gt;3 (for those who like 2 lines of code instead 20)</description>
		<content:encoded><![CDATA[<p>I come back to point something.<br />
My script is better for 2-3 columns, yours for &gt;3 (for those who like 2 lines of code instead 20)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-242738</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Tue, 18 Jan 2011 17:48:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-242738</guid>
		<description>I think i found another script wich is much better. I think :p



&lt;?php
$cats = explode(&quot;&quot;,wp_list_categories(&#039;title_li=&amp;echo=0&amp;depth=1&amp;style=none&#039;));
$cat_n = count($cats) - 1;
for ($i=0;$i&lt;$cat_n;$i++):
if ($i&lt;$cat_n/2):
$cat_left = $cat_left.&#039;&#039;.$cats[$i].&#039;&#039;;
elseif ($i&gt;=$cat_n/2):
$cat_right = $cat_right.&#039;&#039;.$cats[$i].&#039;&#039;;
endif;
endfor;
?&gt;








Much easier to see what&#039;s happening in this script. 
What you&#039;re thinking?</description>
		<content:encoded><![CDATA[<p>I think i found another script wich is much better. I think :p</p>
<p>&lt;?php<br />
$cats = explode(&quot;&#8221;,wp_list_categories(&#8216;title_li=&amp;echo=0&amp;depth=1&amp;style=none&#8217;));<br />
$cat_n = count($cats) &#8211; 1;<br />
for ($i=0;$i&lt;$cat_n;$i++):<br />
if ($i&lt;$cat_n/2):<br />
$cat_left = $cat_left.&#039;&#8217;.$cats[$i].&#8221;;<br />
elseif ($i&gt;=$cat_n/2):<br />
$cat_right = $cat_right.&#8221;.$cats[$i].&#8221;;<br />
endif;<br />
endfor;<br />
?&gt;</p>
<p>Much easier to see what&#8217;s happening in this script.<br />
What you&#8217;re thinking?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to Display Categories In Two or More Columns in Wordpress &#124; TechnoBlog by Navin</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-242593</link>
		<dc:creator>How to Display Categories In Two or More Columns in Wordpress &#124; TechnoBlog by Navin</dc:creator>
		<pubDate>Mon, 10 Jan 2011 13:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-242593</guid>
		<description>[...] Thanks: bloggingpro [...]</description>
		<content:encoded><![CDATA[<p>[...] Thanks: bloggingpro [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nik@technojourney</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-235728</link>
		<dc:creator>nik@technojourney</dc:creator>
		<pubDate>Sat, 11 Dec 2010 21:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-235728</guid>
		<description>i use the category splitter in my website, works fine. thanks buddy.</description>
		<content:encoded><![CDATA[<p>i use the category splitter in my website, works fine. thanks buddy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DeNieD</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-235699</link>
		<dc:creator>DeNieD</dc:creator>
		<pubDate>Sat, 11 Dec 2010 12:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-235699</guid>
		<description>Are you resolved?
I&#039;ve tried to use get_posts instead of wp_list_pages but it show only the text &quot;array&quot;.
If I use get_latest_posts it shows them but outside the &quot;ul&quot; loop. Help, please :)</description>
		<content:encoded><![CDATA[<p>Are you resolved?<br />
I&#8217;ve tried to use get_posts instead of wp_list_pages but it show only the text &#8220;array&#8221;.<br />
If I use get_latest_posts it shows them but outside the &#8220;ul&#8221; loop. Help, please <img src='http://www.bloggingpro.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wpwired</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-231537</link>
		<dc:creator>wpwired</dc:creator>
		<pubDate>Tue, 13 Jul 2010 22:01:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-231537</guid>
		<description>is there any way to modify the code for tag cloud lists so that they can be displayed too in mulit columns</description>
		<content:encoded><![CDATA[<p>is there any way to modify the code for tag cloud lists so that they can be displayed too in mulit columns</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WP Hue</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-231026</link>
		<dc:creator>WP Hue</dc:creator>
		<pubDate>Wed, 23 Jun 2010 18:33:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-231026</guid>
		<description>It&#039;s implemented in the WP Classipress theme navigation menu. It&#039;s ultimately slick!</description>
		<content:encoded><![CDATA[<p>It&#8217;s implemented in the WP Classipress theme navigation menu. It&#8217;s ultimately slick!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franky Branckaute</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-229911</link>
		<dc:creator>Franky Branckaute</dc:creator>
		<pubDate>Fri, 21 May 2010 14:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-229911</guid>
		<description>&lt;blockquote&gt;Any chance to exclude some categories?&lt;/blockquote&gt;

In line 3 for &lt;code&gt;$get_cats&lt;/code&gt; you should be able to use all parameters available for &lt;a href=&quot;http://codex.wordpress.org/Template_Tags/wp_list_categories&quot; rel=&quot;nofollow&quot;&gt;wp_list_categories&lt;/a&gt;, also exclude.</description>
		<content:encoded><![CDATA[<blockquote><p>Any chance to exclude some categories?</p></blockquote>
<p>In line 3 for <code>$get_cats</code> you should be able to use all parameters available for <a href="http://codex.wordpress.org/Template_Tags/wp_list_categories" rel="nofollow">wp_list_categories</a>, also exclude.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Floyd</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-229909</link>
		<dc:creator>Floyd</dc:creator>
		<pubDate>Fri, 21 May 2010 13:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-229909</guid>
		<description>Any chance to exclude some categories? Get all and exclude e.g. category â€œname1â€³ â€œname2â€³ would be very cool, because I have a â€œfeaturedâ€-category, that I donÂ´t want to display.

Great work and thanks for your answer
Floyd</description>
		<content:encoded><![CDATA[<p>Any chance to exclude some categories? Get all and exclude e.g. category â€œname1â€³ â€œname2â€³ would be very cool, because I have a â€œfeaturedâ€-category, that I donÂ´t want to display.</p>
<p>Great work and thanks for your answer<br />
Floyd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lara</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-227297</link>
		<dc:creator>Lara</dc:creator>
		<pubDate>Sun, 07 Mar 2010 01:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-227297</guid>
		<description>I&#039;ve searched and searched and tried and tried to find something that will work. I&#039;ve found bunches of solutions for categories... I modify them to try it with archives and it just ends up dumping the two columns after the list of archives it output.

Arghh!

This is the basic modification I&#039;ve been trying to use:

&lt;?php
// Grab the categories - top level only (depth=1)
 $get_cats = wp_get_archives( &#039;type=daily&#039; );
// Split into array items
 $cat_array = explode(&#039;&#039;,$get_cats);
// Amount of categories (count of items in array)
 $results_total = count($cat_array);
// How many categories to show per list (round up total divided by 5)
 $cats_per_list = ceil($results_total / 5);
// Counter number for tagging onto each list
 $list_number = 1;
// Set the category result counter to zero
 $result_number = 0;
?&gt;

&lt;ul class=&quot;category_footer_post&quot; id=&quot;cat-col-&quot;&gt;

	&lt;?php
		foreach($cat_array as $category) {
		$result_number++;

		if($result_number % $cats_per_list == 0) {
		$list_number++;
		echo $category.&#039;
		

		&#039;;

	}

	else {

		echo $category.&#039;&#039;;

		}

	} ?&gt;




Any ideas?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve searched and searched and tried and tried to find something that will work. I&#8217;ve found bunches of solutions for categories&#8230; I modify them to try it with archives and it just ends up dumping the two columns after the list of archives it output.</p>
<p>Arghh!</p>
<p>This is the basic modification I&#8217;ve been trying to use:</p>
<p>&lt;?php<br />
// Grab the categories &#8211; top level only (depth=1)<br />
 $get_cats = wp_get_archives( &#039;type=daily&#039; );<br />
// Split into array items<br />
 $cat_array = explode(&#039;&#8217;,$get_cats);<br />
// Amount of categories (count of items in array)<br />
 $results_total = count($cat_array);<br />
// How many categories to show per list (round up total divided by 5)<br />
 $cats_per_list = ceil($results_total / 5);<br />
// Counter number for tagging onto each list<br />
 $list_number = 1;<br />
// Set the category result counter to zero<br />
 $result_number = 0;<br />
?&gt;</p>
<p>&lt;ul class=&quot;category_footer_post&quot; id=&quot;cat-col-&#8221;&gt;</p>
<p>	&lt;?php<br />
		foreach($cat_array as $category) {<br />
		$result_number++;</p>
<p>		if($result_number % $cats_per_list == 0) {<br />
		$list_number++;<br />
		echo $category.&#039;</p>
<p>		&#8216;;</p>
<p>	}</p>
<p>	else {</p>
<p>		echo $category.&#8221;;</p>
<p>		}</p>
<p>	} ?&gt;</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.bloggingpro.com/archives/2010/01/15/how-to-display-your-wordpress-category-list-in-multiple-columns/#comment-226670</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sat, 06 Feb 2010 20:11:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingpro.com/?p=14387#comment-226670</guid>
		<description>This is great. Have been having a look to see if I can do this with pages as well. I can get as far as having a list of 1&#039;s but no pages...

Can you help?



&lt;?php
// Grab the categories - top level only (depth=1)
$get_pages = wp_list_pages( &#039;echo=0&amp;title_li=&amp;depth=1&#039; );
// Split into array items
$page_array = explode(&#039;&#039;,$get_pages);
// Amount of categories (count of items in array)
$results_total = count($page_array);
// How many categories to show per list (round up total divided by 5)
$pages_per_list = ceil($results_total / 3);
// Counter number for tagging onto each list
$list_number = 1;
// Set the category result counter to zero
$result_number = 0;
?&gt;


&lt;ul class=&quot;page_footer_post&quot; id=&quot;page-col-&quot;&gt;
	 
	    &lt;?php
	        foreach($page_array as $pages) {
	        $result_number++;
	 
	        if($result_number % $pages_per_list == 0) {
	        $list_number++;
	        echo $page.&#039;
	        
	 
	        &#039;;
	 
	    }
	 
	    else {
	 
	        echo $page.&#039;&#039;;
	 
	        }
	 
	    } ?&gt;
	 
	</description>
		<content:encoded><![CDATA[<p>This is great. Have been having a look to see if I can do this with pages as well. I can get as far as having a list of 1&#8242;s but no pages&#8230;</p>
<p>Can you help?</p>
<p>&lt;?php<br />
// Grab the categories &#8211; top level only (depth=1)<br />
$get_pages = wp_list_pages( &#039;echo=0&amp;title_li=&amp;depth=1&#039; );<br />
// Split into array items<br />
$page_array = explode(&#039;&#8217;,$get_pages);<br />
// Amount of categories (count of items in array)<br />
$results_total = count($page_array);<br />
// How many categories to show per list (round up total divided by 5)<br />
$pages_per_list = ceil($results_total / 3);<br />
// Counter number for tagging onto each list<br />
$list_number = 1;<br />
// Set the category result counter to zero<br />
$result_number = 0;<br />
?&gt;</p>
<p>&lt;ul class=&quot;page_footer_post&quot; id=&quot;page-col-&#8221;&gt;</p>
<p>	    &lt;?php<br />
	        foreach($page_array as $pages) {<br />
	        $result_number++;</p>
<p>	        if($result_number % $pages_per_list == 0) {<br />
	        $list_number++;<br />
	        echo $page.&#039;</p>
<p>	        &#8216;;</p>
<p>	    }</p>
<p>	    else {</p>
<p>	        echo $page.&#8221;;</p>
<p>	        }</p>
<p>	    } ?&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

