Hope someone could answer my pretty complicated question.
I have a page with a custom template in which I display all the categories in a list, with images.
For images associated with each category, I have used this plugin:
To display the categories with images I have this code in the template:
<?php $args=array( 'orderby' => 'name', 'order' => 'ASC', 'exclude' => '54', ) ?> <?php foreach (get_categories( $args ) as $cat) : ?> <h3><a href="<?php echo get_category_link($cat->term_id); ?>"><?php echo $cat->cat_name; ?></a></h3> <a href="<?php echo get_category_link($cat->term_id); ?>"><img src="<?php echo z_taxonomy_image_url($cat->term_id); ?>" /></a> <?php endforeach; ?>
The result can be found here: http://bit.ly/Wxwsck and works great.
But I would rather have the categories listed as a grid or as multiple columns. Can anyone advice on how to update my existing code for this?