<?php
/**
 * The template for displaying 404 pages (not found)
 *
 * @link https://codex.wordpress.org/Creating_an_Error_404_Page
 *
 * @package Wacko
 */

get_header(); ?>

	<div class="wrapper-list">
        <div id="content" class="container">
            <div class="row">
                <section id="primary" class="col-xs-12 col-sm-8 col-md-8 left-list-wrap">
                  <div id="main" class="site-main" role="main">

			<section class="error-404 not-found">
				<header class="page-header">
					<h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'wacko' ); ?></h1>
				</header><!-- .page-header -->

				<div class="page-content">
					<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'wacko' ); ?></p>

					<?php

						the_widget( 'WP_Widget_Recent_Posts', '', $args = array(
								'before_title' => '<h3 class="widget-title">',
								'after_title' => '</h3>'
							));
					?>

					<div class="widget widget_categories">
						<h3 class="widget-title"><?php esc_html_e( 'Most Used Categories', 'wacko' ); ?></h3>
						<ul>
						<?php
							wp_list_categories( array(
								'orderby'    => 'count',
								'order'      => 'DESC',
								'show_count' => 1,
								'title_li'   => '',
								'number'     => 10,
							) );
						?>
						</ul>
					</div><!-- .widget -->

				</div><!-- .page-content -->
			</section><!-- .error-404 -->

		</div><!--main-->
    </section><!--left-list-wrap-->

<?php
get_sidebar(); ?>

		</div><!--row-->
    </div><!--container-->
</div><!--wrapper-list--> 

<?php
get_footer();
