When I do that it breaks the widget output… I copied that line of code into the file:
echo '<li class="' . esc_attr( $liclass ) . '"><a href="' . esc_url( $item['link'] ) . '" target="' . esc_attr( $target ) . '" class="' . esc_attr( $aclass ) . '"><img src="' . esc_url( $item[$size] ) . '" alt="' . esc_attr( $item['description'] ) . '" title="' . esc_attr( $item['description'] ) . '" class="' . esc_attr( $imgclass ) . '"/></a></li>';
And removed the title attribute so it now looks like this:
echo '<li class="' . esc_attr( $liclass ) . '"><a href="' . esc_url( $item['link'] ) . '" target="' . esc_attr( $target ) . '" class="' . esc_attr( $aclass ) . '"><img src="' . esc_url( $item[$size] ) . '" alt="' . esc_attr( $item['description'] ) . '" class="' . esc_attr( $imgclass ) . '"/></a></li>';
Am I missing something? Because I see this code, instead of instagram images, in the widget area on the site:
echo '' . esc_attr( $item['description'] ) . ''; echo '' . esc_attr( $item['description'] ) . ''; echo '' . esc_attr( $item['description'] ) . ''; echo '' . esc_attr( $item['description'] ) . ''; echo '' . esc_attr( $item['description'] ) . ''; echo '' . esc_attr( $item['description'] ) . '';