| Server IP : 68.178.247.200 / Your IP : 216.73.216.14 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/x9dppmxs4rgd/www/wp-content/themes/grace-church/templates/ |
Upload File : |
<?php
/*
* The template for displaying "Page 404"
*/
// Disable direct call
if ( ! defined( 'ABSPATH' ) ) { exit; }
/* Theme setup section
-------------------------------------------------------------------- */
if ( !function_exists( 'grace_church_template_404_theme_setup' ) ) {
add_action( 'grace_church_action_before_init_theme', 'grace_church_template_404_theme_setup', 1 );
function grace_church_template_404_theme_setup() {
grace_church_add_template(array(
'layout' => '404',
'mode' => 'internal',
'title' => 'Page 404',
'theme_options' => array(
'article_style' => 'stretch'
),
'w' => null,
'h' => null
));
}
}
// Template output
if ( !function_exists( 'grace_church_template_404_output' ) ) {
function grace_church_template_404_output() {
global $GRACE_CHURCH_CLOBALS;
?>
<article class="post_item post_item_404">
<div class="image_page_404"></div>
<div class="post_content">
<h1 class="page_title"><?php wp_kses( _e( 'We are sorry! <span>Error 404!</span><br> This page could not be found.', 'grace-church' ), $GRACE_CHURCH_CLOBALS['allowed_tags']); ?></h1>
<p class="page_description"><?php echo sprintf( wp_kses( __('Can\'t find what you need? Take a moment and do<br> a search below or start from <a href="%s">our homepage</a>.', 'grace-church'), $GRACE_CHURCH_CLOBALS['allowed_tags']), esc_url( home_url('/') ) ); ?></p>
<div class="page_search"><?php echo grace_church_sc_search(array('state'=>'fixed', 'title'=>__('Search...', 'grace-church'))); ?></div>
</div>
</article>
<?php
}
}
?>