PATH:
home
/
letacommog
/
lavenue
/
wp-content
/
themes
/
deep
<?php /** * Deep Theme. * * The template for displaying 404 pages (not found) * * @since 1.0.0 * @author Webnus */ // Don't load directly. if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'WN_404' ) ) { class WN_404 extends WN_Core_Templates { /** * Instance of this class. * * @since 1.0.0 * @access public * @var WN_404 */ public static $instance; /** * Provides access to a single instance of a module using the singleton pattern. * * @since 1.0.0 * @return object */ public static function get_instance() { if ( self::$instance === null ) { self::$instance = new self(); } return self::$instance; } /** * Define the core functionality of the 404.php * * @since 1.0.0 */ public function __construct() { parent::__construct(); $this->get_header(); $this->content(); $this->get_footer(); } /** * Render content. * * @since 1.0.0 */ private function content() { $not_found_page_status = deep_get_option( $this->theme_options, 'deep_404_page_switch', '0' ); $not_found_page_id = deep_get_option( $this->theme_options, 'deep_404_page' ); $not_found_page_text = deep_get_option( $this->theme_options, 'deep_404_text' ); if ( $not_found_page_status && $not_found_page_id ) { echo apply_filters( 'the_content', get_post_field( 'post_content', $not_found_page_id ) ); } else { ?> <div class="wn-section clearfix"> <div id="main-content" class="container"> <h1 class="pnf404"><?php esc_html_e('404','deep'); ?></h1> <h2 class="pnf404"><?php esc_html_e('Page Not Found','deep'); ?></h2> <br> <h3><?php echo esc_html( $not_found_page_text ); ?></h3> <div> <?php get_search_form(); ?> </div> <hr class="vertical-space5"> </div> </div> <?php } } } // Run WN_404::get_instance(); }
[+]
..
[-] 404.php
[edit]
[+]
kingcomposer
[-] attachment.php
[edit]
[-] single-gallery.php
[edit]
[-] wpml-config.xml
[edit]
[-] single-portfolio.php
[edit]
[+]
woocommerce
[-] taxonomy-cause_category.php
[edit]
[-] readme.txt
[edit]
[-] sidebar.php
[edit]
[-] footer.php
[edit]
[-] archive.php
[edit]
[-] single-faq.php
[edit]
[-] single-elementor_library.php
[edit]
[-] taxonomy-sermon_speaker.php
[edit]
[-] rtl.css
[edit]
[-] single-llms_membership.php
[edit]
[-] speakers-images.php
[edit]
[-] buddypress.php
[edit]
[-] single-recipe.php
[edit]
[-] archive-room.php
[edit]
[-] single-llms_quiz.php
[edit]
[-] functions.php
[edit]
[-] archive-gallery.php
[edit]
[-] taxonomy-sermon_series.php
[edit]
[-] author.php
[edit]
[-] taxonomy-portfolio_category.php
[edit]
[-] single-mega_menu.php
[edit]
[-] page.php
[edit]
[-] comments.php
[edit]
[-] single-goal.php
[edit]
[-] single-course.php
[edit]
[-] single-sermon.php
[edit]
[-] search.php
[edit]
[-] Change_log.php
[edit]
[-] taxonomy-sermon_category.php
[edit]
[-] searchform.php
[edit]
[-] single-llms_question.php
[edit]
[-] core-templates.php
[edit]
[-] style.css
[edit]
[-] index.php
[edit]
[+]
lifterlms
[-] single-wbf_footer.php
[edit]
[+]
assets
[+]
inc
[-] single-cause.php
[edit]
[-] archive-course.php
[edit]
[-] header.php
[edit]
[-] screenshot.png
[edit]
[+]
languages
[-] single-lesson.php
[edit]
[+]
vc_templates
[-] README.md
[edit]
[+]
buddypress
[-] single.php
[edit]