HEX
Server: Apache/2.4.65 (Debian)
System: Linux web6 5.10.0-36-amd64 #1 SMP Debian 5.10.244-1 (2025-09-29) x86_64
User: innocamp (1028)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //home/youtil/.Trash/public_html-workingold/wp-content/themes/Total/404.php
<?php
/**
 * The template for displaying 404 pages (Not Found).
 *
 * @package Total WordPress Theme
 * @subpackage Templates
 * @version 5.0
 */

defined( 'ABSPATH' ) || exit;

get_header(); ?>

	<div id="content-wrap" class="container wpex-clr">

		<?php wpex_hook_primary_before(); ?>

		<div id="primary" class="content-area wpex-clr">

			<?php wpex_hook_content_before(); ?>

			<main id="content" class="site-content wpex-clr">

				<?php wpex_hook_content_top(); ?>

				<?php if ( ! wpex_theme_do_location( 'single' ) ) : ?>

					<article class="entry wpex-clr">

						<?php
						// Check custom page content
						if ( get_theme_mod( 'error_page_content_id' ) && $id = wpex_get_current_post_id() ) :

							$post    = get_post( $id ); // get post
							$content = wpex_parse_vc_content( $post->post_content ); // remove weird p tags and extra code
							$content = wp_kses_post( $content ); // security
							echo do_shortcode( $content ); // parse shortcodes and echo

						else :

							// Get error text
							$error_text = trim( wpex_get_translated_theme_mod( 'error_page_text' ) );

							// Display custom text
							if ( $error_text )  : ?>

								<div class="custom-error404-content wpex-clr"><?php echo wpex_the_content( $error_text, 'error404' ); ?></div>

							<?php
							// Display default text
							else : ?>

								<div class="error404-content wpex-text-center wpex-py-30 wpex-clr">

									<h1 class="error404-content-heading wpex-m-0 wpex-mb-10 wpex-text-6xl"><?php esc_html_e( 'Sorry, this page could not be found.', 'total' ); ?></h1>
									<div class="error404-content-text wpex-text-md wpex-last-mb-0"><?php esc_html_e( 'The page you are looking for doesn\'t exist, no longer exists or has been moved.', 'total' ); ?></div>

								</div>

							<?php endif; ?>

						<?php endif; ?>

					</article>

				<?php endif; ?>

				<?php wpex_hook_content_bottom(); ?>

			</main>

			<?php wpex_hook_content_after(); ?>

		</div>

		<?php wpex_hook_primary_after(); ?>

	</div>

<?php get_footer(); ?>