Skip to content

Instantly share code, notes, and snippets.

@mseptiaan
Created January 6, 2022 15:56
Show Gist options
  • Save mseptiaan/7c91e5fea1c6d1a4b87b969d53fa36e3 to your computer and use it in GitHub Desktop.
Save mseptiaan/7c91e5fea1c6d1a4b87b969d53fa36e3 to your computer and use it in GitHub Desktop.
description
<?php
/**
* The template for displaying 404 pages (not found)
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package appside
*/
get_header();
$get_404_options_value = Appside_Group_Fields_Value::get_404_options_value();
?>
<div id="primary" class="content-area error_page_content_area padding-top-110 padding-bottom-110">
<main id="main" class="site-main">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="error-404 not-found">
<h2 class="title"><?php echo esc_html($get_404_options_value['title']);?></h2>
<h4 class="subtitle"><?php echo esc_html($get_404_options_value['subtitle']);?></h4>
<p class="paragraph"><?php echo esc_html($get_404_options_value['paragraph']);?></p>
<?php
get_search_form();
?>
<div class="btn-wrapper desktop-center margin-top-30">
<a class="boxed-btn" href="<?php echo esc_url(home_url('/'));?>"><?php echo esc_html($get_404_options_value['btn_text']);?></a>
</div>
</div>
</div>
</div>
</div>
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_footer();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment