first commit
This commit is contained in:
24
wp-content/themes/hello-elementor/template-parts/404.php
Normal file
24
wp-content/themes/hello-elementor/template-parts/404.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying 404 pages (not found).
|
||||
*
|
||||
* @package HelloElementor
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly.
|
||||
}
|
||||
?>
|
||||
<main id="content" class="site-main">
|
||||
|
||||
<?php if ( apply_filters( 'hello_elementor_page_title', true ) ) : ?>
|
||||
<header class="page-header">
|
||||
<h1 class="entry-title"><?php echo esc_html__( 'The page can’t be found.', 'hello-elementor' ); ?></h1>
|
||||
</header>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="page-content">
|
||||
<p><?php echo esc_html__( 'It looks like nothing was found at this location.', 'hello-elementor' ); ?></p>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
Reference in New Issue
Block a user