<ul class="sidebar__posts list-unstyled">
    <?php while ($recent_posts->have_posts()) :
        $recent_posts->the_post(); ?>
        <li class="sidebar__posts__item">
            <div class="sidebar__posts__image">
                <?php the_post_thumbnail('ostech_blog_70X70'); ?>
            </div>
            <div class="sidebar__posts__content">
                <p class="sidebar__posts__meta"><a href="<?php the_permalink(); ?>"><i class="icon-clock-1"></i><?php echo get_the_date(); ?></a></p>
                <h4 class="sidebar__posts__title"><a href="<?php the_permalink(); ?>"><?php echo wp_trim_words(get_the_title(), $instance['title_word_limit'], ''); ?></a></h4>
            </div>
        </li>
    <?php endwhile;
    wp_reset_postdata(); ?>
</ul><!-- /.sidebar__posts list-unstyled -->