Categories images not displayed in the right order
-
Hi,
I’m using the plugin to display categories images in the categories pages and on the homepage.
On the archive.php file I’ve added <?php z_taxonomy_image(NULL, ‘thumbnail’); ?> and it works great.
On my homepage I’ve added this piece of code :
<?php foreach (get_the_category() as $cat) : ?>
<img src=”<?php echo z_taxonomy_image_url($cat->term_id); ?>” width=”260px” style=”margin-bottom:20px”/>
<?php endforeach; ?>But for some reason the images that are displayed there are not the ones coresponding to my categories…
Please tell me if you want the whole index.php file.
Thanks in advance for your help !
Best,
Deborah
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Categories images not displayed in the right order’ is closed to new replies.