Try This
<li>
<a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
<a href="<?php the_permalink() ?>" rel="bookmark">
<?php $image = get_post_meta($post->ID, 'thumbnail', true); /* Replace lead_image with the name of the custom field for the image you want to use */ ?>
<img style=" margin:0px; border:0px;" width="36" height="36" alt="<?php the_title(); ?>" src="<?php echo $image ?>" /></a>
</li>
The icons blend in well with the website colors, looks great.
Thanks but it didn’t work.
What i am looking for is when viewing a post that has a tag the related posts show which the code above does, but when there are no related post it should show the message
<p>No tags found<p>.