Created
October 20, 2021 18:14
-
-
Save usm-interactive/53d8bca7521ab7d9d4edd5a8d2106a69 to your computer and use it in GitHub Desktop.
404 Page for Prana
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The template for displaying 404 pages (not found) | |
* | |
* @link https://codex.wordpress.org/Creating_an_Error_404_Page | |
* | |
* @package Prana | |
*/ | |
get_header(); | |
// Content | |
$title = get_field('title', 'option'); | |
$subtitle = get_field('subtitle', 'option'); | |
$image = get_field('image', 'option'); | |
$content = get_field('content', 'option'); | |
?> | |
<div class="page-banner cover"> | |
<?php | |
echo prana_acf_responsive_image($image, 'banner_image', [], [ | |
'class' => 'cover-image page-banner-image position-50-50' | |
]); | |
?> | |
<div class="page-banner-content flush cover-content"> | |
<h1 class="page-banner-title"><?php echo $title;?></h1> | |
<p class="page-banner-subtitle"><?php echo $subtitle; ?></p> | |
</div><!-- /.content-wrap --> | |
</div><!-- /.page-banner --> | |
<div class="module module-wysiwyg module-padded module-setting-bg-white module-setting-columns-one module-1"> | |
<div class="container"> | |
<div class="module-part-content flush padded"> | |
<p><?php echo $content; ?></p> | |
</div> | |
</div> | |
</div> | |
<?php | |
get_footer(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment