wordpress/php-fpm/wordpress_files/themes/the-bootstrap/404.php

64 lines
1.9 KiB
PHP
Raw Permalink Normal View History

2020-05-22 03:40:23 +02:00
<?php
/** 404.php
*
* The template for displaying 404 pages (Not Found).
*
* @author Konstantin Obenland
* @package The Bootstrap
* @since 1.0.0 - 07.02.2012
*/
get_header(); ?>
<section id="primary" class="span8">
<?php tha_content_before(); ?>
<div id="content" role="main">
<?php tha_content_top(); ?>
<?php tha_entry_before(); ?>
<article id="post-0" class="post error404 not-found">
<?php tha_entry_top(); ?>
<header class="page-header">
<h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isn&rsquo;t it?', 'the-bootstrap' ); ?></h1>
</header><!-- .page-header -->
<div class="entry-content">
<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching, or one of the links below, can help.', 'the-bootstrap' ); ?></p>
<?php
get_search_form();
the_widget( 'WP_Widget_Recent_Posts', array( 'number' => 10 ), array( 'widget_id' => '404' ) );
the_widget( 'WP_Widget_Categories', array(
'title' => __( 'Most Used Categories', 'the-bootstrap' ),
) );
$archive_content = sprintf( _x( 'Try looking in the monthly archives. %1$s', '%1$s: smilie', 'the-bootstrap' ), convert_smilies( ':)' ) );
the_widget( 'WP_Widget_Archives', array(
'count' => 0,
'dropdown' => 1
), array(
'after_title' => "</h2><p>{$archive_content}</p>"
) );
the_widget( 'WP_Widget_Tag_Cloud' ); ?>
</div><!-- .entry-content -->
<?php tha_entry_bottom(); ?>
</article><!-- #post-0 .post .error404 .not-found -->
<?php tha_entry_after(); ?>
<?php tha_content_bottom(); ?>
</div><!-- #content -->
<?php tha_content_after(); ?>
</section><!-- #primary -->
<?php
get_sidebar();
get_footer();
/* End of file 404.php */
/* Location: ./wp-content/themes/the-bootstrap/404.php */