Forum Replies Created

Viewing 1 replies (of 1 total)
  • vghardy

    (@vghardy)

    @2gen Could you elaborate? I need help with getting the placeholder to show up also, and I don’t really understand your answer above.

    Here is my code:

    if (function_exists('z_taxonomy_image_url')) { 
    echo '<img src="' . z_taxonomy_image_url( $child, $taxonomy_name ) . '" />';
    }

    The above code shows the image that’s set. I need logic in place that says if the user hasn’t set an image, default to placeholder image.

    • This reply was modified 8 years ago by vghardy.
    • This reply was modified 8 years ago by vghardy.
Viewing 1 replies (of 1 total)