<?php
/**
 * 404 error page not found page
 * @tswplain
 */
 
get_header(); ?>
<div class="wrap">
    <div class="grids">
        <section class="grid-10" role="main">
            <section class="grid-7">	<br>	
	        <h1><?php _e( 'Oh My! I can&#39;t find that page.', 'tswplain' ); ?> </h1>
<hr>
                <h2><?php _e( 'You may want to check out the articles below', 'tswplain' ); ?></h2>	 
<hr>    
        <article>
                <ul id="post-entry">
                <?php $tswplain_posts = get_posts('numberposts=-1&');
                  foreach($tswplain_posts as $post) : ?>
                <li><?php the_time('m/d/y') ?>: <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
                <?php endforeach; ?>
                </ul>
        </article>
            </section>
                    <section class="grid-3"><?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
                    <article id="primary-sidebar">	
                    <?php dynamic_sidebar( 'sidebar-1' ); ?>
                    </article>
                                            <?php endif; ?>    
                    </section>
        </section>
    </div><!-- ends main -->
</div><!-- ends grids -->
<?php get_footer(); ?>