<div class="content-with-sidebar side-right">
    <div class="container">
        <div class="content post-listing">
                <?php if (have_posts()) : ?>

                    <?php while (have_posts()) :
                        the_post(); ?>

                        <?php if (get_the_title() !== ''): ?>

                        <article <?php post_class() ?> id="post-<?php the_ID(); ?>">
                            <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
                            <p><?php the_excerpt(); ?></p>
                            <p><a class="btn" href="<?php the_permalink(); ?>"><?php _e('Read More', DOMAIN); ?></a></p>
                        </article>

                        <?php endif; ?>
                    <?php endwhile; ?>

                <?php else : ?>

                    <h2><?php _e('Nothing Found', DOMAIN); ?></h2>

                <?php endif; ?>
        </div>
        <aside class="sidebar posts-sidebar">
            <div class="title-block">
                <h3 class="title"><?php _e('Search Again', DOMAIN); ?></h3>
            </div>
            <div class="search-container">
                <form role="search" method="get" id="searchform_sidebar" class="searchform" action="<?php echo home_url( '/' ); ?>">
                    <label for="s" class="screen-reader-text"><?php _e('Search for:', DOMAIN); ?></label>
                    <input class="search-field" type="text" id="s_sidebar" name="s" value="" placeholder="<?php _e('Search', DOMAIN); ?>"/>

                    <button type="submit" class="btn-search"><i class="fa fa-search" aria-hidden="true"></i></button>
                </form>
            </div>
        </aside>

    </div>
</div>

