Viewing 2 replies - 1 through 2 (of 2 total)
  • You could try to replace line 12 with: (untested)

    
    $term = get_term( $tag_id );
    
    $image = '<img src="' . z_taxonomy_image_url( $tag_id ) . '" style="height:' . $font_size . 'px" alt="' . $term->name . '"/>';
    
    
    Thread Starter salvia49

    (@salvia49)

    Thank you so much Chris, your code works perfectly!!
    Kind regards.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘SEO: Add “alt” parameter to tag_groups_add_image_to_tag function ?’ is closed to new replies.