summaryrefslogtreecommitdiff
path: root/template-parts/404/404-layout.php
diff options
context:
space:
mode:
Diffstat (limited to 'template-parts/404/404-layout.php')
-rw-r--r--template-parts/404/404-layout.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/template-parts/404/404-layout.php b/template-parts/404/404-layout.php
new file mode 100644
index 0000000..bd57724
--- /dev/null
+++ b/template-parts/404/404-layout.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Template for 404
+ *
+ * @package Astra
+ * @author Astra
+ * @copyright Copyright (c) 2020, Astra
+ * @link https://wpastra.com/
+ * @since Astra 1.0.0
+ */
+
+?>
+<div <?php echo astra_attr( '404_page', array( 'class' => 'ast-404-layout-1' ) ); ?> >
+
+ <?php astra_the_title( '<header class="page-header"><h1 class="page-title">', '</h1></header><!-- .page-header -->' ); ?>
+
+ <div class="page-content">
+
+ <div class="page-sub-title">
+ <?php echo esc_html( astra_default_strings( 'string-404-sub-title', false ) ); ?>
+ </div>
+
+ <div class="ast-404-search">
+ <?php the_widget( 'WP_Widget_Search' ); ?>
+ </div>
+
+ </div><!-- .page-content -->
+</div>