1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$output .= "<div class='$post_class $extra relThumb relThumb".$count." post-format-".$format." related_column'>\n";
	 			$output .= "	<a href='".get_permalink($related_post->ID)."' class='relThumWrap noLightbox'>\n";
     			$output .= "	<span class='related_image_wrap' data-avia-related-tooltip='".$related_post->post_title."'>";
	 			$output .= 		$image;
	 			$output .= "	<span class='related-format-icon avia-font-entypo-fontello {$extra_class}'><span class='related-format-icon-inner'>".$avia_config['font_icons'][$format]."</span></span>";
	 			$output .= "	</span>";
	 			$output .= "	</a>";
				$output .= " ID)."'>".$related_post->post_title."";
	 			$output .= "</div>";

     			$count++;
     			$extra = "";

     			if($count == count($my_query)) $extra = 'omega';

     		}