forked from studio-arrenberg/quartiersplattform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.php
41 lines (29 loc) · 927 Bytes
/
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
<?php
/**
* The template for displaying the 404 template in the Twenty Twenty theme.
*
* @package WordPress
* @subpackage Twenty_Twenty
* @since Twenty Twenty 1.0
*/
get_header();
?>
<main id="site-content" role="main">
<div class="section-inner thin error404-content">
<h1 class="entry-title"><?php _e( 'Page Not Found', 'twentytwenty' ); ?></h1>
<div class="intro-text"><p><?php _e( 'The page you were looking for could not be found. It might have been removed, renamed, or did not exist in the first place.', 'twentytwenty' ); ?></p></div>
<br><br>
<a class="button" href="<?php echo get_site_url(); ?>"><?php _e('Startseite','quartiersplattform'); ?></a>
<?php
if ( current_user_can('administrator') ) {
get_search_form(
array(
'label' => __( '404 not found', 'twentytwenty' ),
)
);
}
?>
</div><!-- .section-inner -->
</main><!-- #site-content -->
<?php
get_footer();