HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
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: /var/www/html/wpskycap/wp-content/themes/sway/404.php
<?php
/**
 * The template for displaying 404 pages (Not Found)
 * @package sway
 * by KeyDesign
 */

	if ( ! defined( 'ABSPATH' ) ) {
		exit; // Exit if accessed directly.
	}

	get_header();
	
	$error_page_image = sway_get_option( 'tek-404-image' );
?>

<section class="page-404">
	<div class="container">
	    <div class="row" >
				<?php if ( isset( $error_page_image['url'] ) && '' != $error_page_image['url'] ) : ?>
					<div class="error-page-image-wrapper">
						<img class="error-page-image" src="<?php echo esc_url( $error_page_image['url'] ); ?>" />
					</div>
				<?php endif; ?>
				<h1 class="section-heading"><?php echo ( sway_get_option( 'tek-404-title' ) ) ? esc_html( sway_get_option( 'tek-404-title' ) ) : _e( '404 - Page Not Found', 'sway' ); ?></h1>
        <h4 class="section-subheading"><?php echo ( sway_get_option( 'tek-404-subtitle' ) ) ? esc_html( sway_get_option( 'tek-404-subtitle' ) ) : _e( 'The page you are looking for does not exist.', 'sway' ); ?></h4>
				<a href="<?php echo esc_url(get_site_url()); ?>" class="tt_button tt_primary_button btn_primary_color hover_solid_secondary"><?php echo ( sway_get_option( 'tek-404-back' ) ) ? esc_html( sway_get_option( 'tek-404-back' ) ) : _e( 'Back to homepage', 'sway' ); ?></a>
	    </div>
    </div>
</section>

<?php get_footer(); ?>