How do I call the category image?
-
How do I change the code below to use the z_taxonomy_image_url call and work with the category image?
<?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array( 5600,1000 ), false, '' ); ?>
At the moment this code fetches the post thumbnail, which the category image isn’t.
I’m using it for parallax backgrounds on my category pages.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How do I call the category image?’ is closed to new replies.