how to exclude one category from the list
-
i need to exclude just one category, how can i do it?
my code is
<ul style=”float:left; “>
<li style=”list-style:none; “>
<?php foreach (get_categories() as $cat) : ?>-
<img src=”<?php echo z_taxonomy_image_url($cat->term_id); ?>” />
term_id); ?>”><?php echo $cat->cat_name; ?>
<?php endforeach; ?>
-
<img src=”<?php echo z_taxonomy_image_url($cat->term_id); ?>” />
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how to exclude one category from the list’ is closed to new replies.