Server IP : 66.29.132.124 / Your IP : 18.221.248.140 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/diixadigital.com/wp-content/themes/meto/ |
Upload File : |
<?php /** * 404 page file * * @package WordPress * @subpackage Meto * @author Theme Kalia <admin@theme-kalia.com> * @version 1.0 */ $text = sprintf(__('It seems we can\'t find what you\'re looking for. Perhaps searching can help or go back to <a href="%s">Homepage</a>', 'meto'), esc_html(home_url('/'))); $allowed_html = wp_kses_allowed_html('post'); ?> <?php get_header(); $data = \METO\Includes\Classes\Common::instance()->data('404')->get(); do_action('meto_banner', $data); $options = meto_WSH()->option(); $error_page_img = $options->get('error_page_image'); $error_page_img = meto_set($error_page_img, 'url'); $error_page_img = ($error_page_img) ? $error_page_img : get_template_directory_uri() . '/assets/images/resource/404-1.png'; if (class_exists('\Elementor\Plugin') and $data->get('tpl-type') == 'e' and $data->get('tpl-elementor')) { echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display($data->get('tpl-elementor')); } else { ?> <!-- Error Section --> <section class="error-section"> <div class="auto-container"> <div class="image"> <img src="<?php echo esc_url($error_page_img); ?>" alt="<?php esc_attr_e('Awesome Image', 'meto'); ?>" /> </div> <div class="text"><?php echo wp_kses($options->get('404-page-text'), $allowed_html) ? wp_kses($options->get('404-page-text'), $allowed_html) : $text; ?></div> <?php if ($options->get('back_home_btn', true)) : ?> <div class="btns-box text-center"> <a href="<?php echo(home_url('/')); ?>" class="theme-btn btn-style-four"><span class="txt"><?php echo wp_kses($options->get('back_home_btn_label'), $allowed_html) ? wp_kses($options->get('back_home_btn_label'), $allowed_html) : esc_html_e('Back To Home Page', 'meto'); ?></span></a> </div> <?php endif; ?> </div> </section> <!-- End Blog Section --> <?php } get_footer(); ?>