Browse Source

Videomaker: Add custom 404 template (#4739)

Ben Dwyer 3 years ago
parent
commit
a6c4043d6f
1 changed files with 18 additions and 0 deletions
  1. 18 0
      videomaker/404.php

+ 18 - 0
videomaker/404.php

@@ -0,0 +1,18 @@
+<?php
+/**
+ * The template for displaying 404 pages (not found)
+ *
+ * @package Blockbase
+ * @since 1.1.1
+ */
+get_header();
+?>
+	<main class="container-404">
+		<h1 class="has-text-align-center has-large-font-size"><?php _e( 'Oops! That page can&rsquo;t be found.', 'blockbase' ); ?></h1>
+
+		<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'blockbase' ); ?></p>
+
+		<?php echo do_blocks('<!-- wp:search {"label":""} /-->'); ?>
+	</main>
+<?php
+get_footer();