-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path404.php
40 lines (39 loc) · 1.44 KB
/
404.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* The template for displaying 404 pages (Not Found).
*
* @package Comunidade_WordPress_BR
* @since 1.0.0
*/
get_header(); ?>
<div id="primary" class="col-md-12">
<div id="content" role="main">
<article class="post error404 not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'This is embarrassing, no?', 'comunidade-wordpress-br' ); ?></h1>
</header>
<div class="entry-content">
<p><?php _e( 'It seems we can not find what you were looking for. Maybe a search or the links below can help.', 'comunidade-wordpress-br' ); ?></p>
<?php get_search_form(); ?>
<div class="row">
<div class="col-md-3">
<?php the_widget( 'WP_Widget_Recent_Posts', array( 'number' => 10 ), array( 'widget_id' => '404' ) ); ?>
</div>
<div class="widget col-md-3">
<h2 class="widgettitle"><?php _e( 'Most Used Categories', 'comunidade-wordpress-br' ); ?></h2>
<ul>
<?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?>
</ul>
</div>
<div class="col-md-3">
<?php the_widget( 'WP_Widget_Archives', array( 'count' => 0, 'dropdown' => 1 ) ); ?>
</div>
<div class="col-md-3">
<?php the_widget( 'WP_Widget_Tag_Cloud' ); ?>
</div>
</div>
</div><!-- .entry-content -->
</article><!-- .error404 -->
</div><!-- #content -->
</div><!-- #primary -->
<?php get_footer(); ?>