Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Footer Category List w/child(ren) in Multiple Columns WordPress


I've got it on my own. Thanks, it's good to know you guys are here!

<strong>Category List w/child(ren) in Multiple Columns</strong> "child_of" to the footer. I have made poor attempt to do it myself take a look at my current Footer: It displays as one long list.

Is it possible to just have 5 Parent Categories + and their sub-categories? (Like in the "Side Bar" Navigation Box). "Currently the sidebar bar is populating all sub cat's for particular five cats"

Make "Browse by Categories" styled like "ani's book" with blue line, the length of 3 columns.
Make "Current Events" styled like "ani's books" with blue line, the length 1 column.

Answers (2)


Denzel Chia answers:


You are doing it well, just that you need to use a <div> with a css left float instead of using a table to contain your category list.


<div style='width:100px;float:left;'>
<font face="Georgia">Browse by Categories</font><br />
<?php if (! function_exists('catList')) { function catList() { $args = array( 'orderby' => 'name', 'order' => 'ASC', 'show_last_update' => 0, 'style' => 'none', 'show_count' => 0, 'hide_empty' => 1, 'use_desc_for_title' => 1, 'child_of' => 0, 'current_category' => 0, 'hierarchical' => true, 'number' => NULL, 'echo' => 1, 'depth' => -1 ); wp_list_categories( $args ); } }
<?php catList(); ;?>

For breaking into next line

<br clear='both'/>


William Crite comments:

Thanks for your reply, I had been working on it all day. I also posted "I've got it on my own". See attached for the final result.