<div class="iblogs-widget <?php echo $css_class; ?>">
  <?php if ($widget_heading) { ?>
    <h3 class="iblogs-line-title iblogs-widget-heading"><?php echo $widget_heading; ?></h3>
  <?php } ?>

  <?php foreach ($posts_tags as $tag) { ?>
    <a href="<?php echo $tag['url']; ?>" title="<?php echo $tag['title']; ?>" class="iblogs-post-tag"><?php echo $tag['title']; ?></a>
  <?php } ?>

<?php if (!empty($custom_css)) { ?>
<style>
  <?php echo $custom_css; ?>
</style>
<?php } ?>
</div>
