| Server IP : 176.9.105.210 / Your IP : 216.73.217.21 Web Server : Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips System : Linux server.mediaphic.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : freelife ( 1356) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,show_source,mail,sendmail,popen,symlink,phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/freelife/public_html/wp-content/themes/betheme/ |
Upload File : |
<?php
/**
* 404 page.
*
* @package Betheme
* @author Muffin group
* @link https://muffingroup.com
*/
$translate['404-title'] = mfn_opts_get('translate') ? mfn_opts_get('translate-404-title', 'Ooops... Error 404') : __('Ooops... Error 404', 'betheme');
$translate['404-subtitle'] = mfn_opts_get('translate') ? mfn_opts_get('translate-404-subtitle', 'We are sorry, but the page you are looking for does not exist') : __('We are sorry, but the page you are looking for does not exist', 'betheme');
$translate['404-text'] = mfn_opts_get('translate') ? mfn_opts_get('translate-404-text', 'Please check entered address and try again or') : __('Please check entered address and try again or ', 'betheme');
$translate['404-btn'] = mfn_opts_get('translate') ? mfn_opts_get('translate-404-btn', 'go to homepage') : __('go to homepage', 'betheme');
?><!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js <?php echo esc_attr(mfn_html_classes()); ?>">
<head>
<meta charset="<?php bloginfo('charset'); ?>" />
<?php wp_head(); ?>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-16652253467"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-16652253467');
</script>
</head>
<?php
$customID = mfn_opts_get('error404-page');
$body_class = '';
if ($customID) {
$body_class .= 'custom-404';
}
?>
<body <?php body_class($body_class); ?>>
<?php if ($customID): ?>
<div id="Content">
<div class="content_wrapper clearfix">
<div class="sections_group">
<?php
$mfn_builder = new Mfn_Builder_Front($customID, true);
$mfn_builder->show();
?>
</div>
<?php get_sidebar(); ?>
</div>
</div>
<?php else: ?>
<div id="Error_404">
<div class="container">
<div class="column one">
<div class="mcb-column-inner">
<div class="error_pic">
<i class="<?php echo esc_attr(mfn_opts_get('error404-icon', 'icon-traffic-cone')); ?>" aria-hidden="true"></i>
</div>
<div class="error_desk">
<h2><?php echo esc_html($translate['404-title']); ?></h2>
<h4><?php echo esc_html($translate['404-subtitle']); ?></h4>
<p><span class="check"><?php echo wp_kses_post($translate['404-text']); ?></span> <a class="button button_filled" href="<?php echo esc_url(site_url()); ?>"><?php echo esc_html($translate['404-btn']); ?></a></p>
</div>
</div>
</div>
</div>
</div>
<?php endif; ?>
<?php wp_footer(); ?>
</body>
</html>