-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
executable file
·50 lines (37 loc) · 1.1 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
41
42
43
44
45
46
47
48
49
50
<?php
/**
* The template for displaying the 404 template in the Twenty Twenty theme.
*
* @package WordPress
* @subpackage Twenty_Twenty
* @since 1.0.0
*/
get_header();
?>
<main id="site-content" role="main">
<div class="section-inner thin logovo-404">
<h1 class="entry-title"><?php _e( 'Ошиблись адресом?', 'twentytwenty' ); ?></h1>
<div class="intro-text"><p><?php _e( 'Такой страницы пока (или больше) нет, попробуйте найти интересующий вас пост:', 'twentytwenty' ); ?></p></div>
<?php
get_search_form(
array(
'label' => __( '404 not found', 'twentytwenty' ),
)
);
?>
</div>
<div class="post-inner thin">
<div class="entry-content">
<?php
$id=18089;
$post = get_post($id);
$content = apply_filters('the_content', $post->post_content);
echo $content;
?>
</div>
</div>
</div><!-- .section-inner -->
</main><!-- #site-content -->
<?php get_template_part( 'template-parts/footer-menus-widgets' ); ?>
<?php
get_footer();