| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www/wp-content/plugins/divi-pixel/public/partials/ |
Upload File : |
<?php
namespace DiviPixel;
/**
* Custom 404 Page
*
* @since 1.0.0
* @package Divi Pixel
*/
$select_error_page = get_option( 'dipi_select_error_page', '-1');
if($select_error_page == '-1' ) {
return;
}
$hide_header = get_option( 'error_page_header');
?>
<?php if($hide_header): ?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<?php
elegant_description();
elegant_keywords();
elegant_canonical();
do_action( 'et_head_meta' );
?>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<script type="text/javascript">
document.documentElement.className = 'js';
</script>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page-container">
<div id="et-main-area">
<?php do_action( 'et_before_main_content' ); ?>
<?php else: ?>
<?php get_header(); ?>
<?php endif; ?>
<?php if($hide_header): ?>
</div><!-- #et-main-area -->
</div><!-- #page-container -->
<?php endif; ?>
<div id="main-content">
<article id="post-0" <?php post_class( 'et_pb_post not_found' ); ?>>
<?php echo do_shortcode('[et_pb_section global_module="' . $select_error_page . '"][/et_pb_section]'); ?>
</article>
</div>
<?php
if('on' === get_option( 'error_page_footer')) {
wp_footer();
} else {
get_footer();
}