HEX
Server: Apache
System: Linux www6.cpt2.host-h.net 5.10.0-45-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64
User: azizavhsgy (1221)
PHP: 8.3.32
Disabled: pcntl_alarm,pcntl_async_signals,pcntl_errno,pcntl_rfork,pcntl_signal_get_handler,pcntl_unshare,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Upload Files
File: /usr/www/users/azizavhsgy/wp-content/themes/consultio/404.php
<?php
/**
 * The template for displaying 404 pages (not found)
 *
 * @package Consultio
 */
$page_404 = consultio_get_opt( 'page_404', 'default' );
$page_custom_404 = consultio_get_opt( 'page_custom_404' );
get_header(); ?>
    <div class="container content-container">
        <div class="row content-row">
            <div id="primary" class="content-area col-12">
                <main id="main" class="site-main">
                    <?php if($page_404 == 'default') { ?>
                        <section class="error-404">
                            <div class="error-404-content">
                                <div class="error-404-holder">
                                    <h3 class="error-404-title"><?php echo esc_html__('Error 404', 'consultio'); ?></h3>
                                    <div class="error-404-sub">
                                        <span><?php echo esc_html__('Page not found', 'consultio'); ?></span>
                                    </div>
                                    <a class="btn" href="<?php echo esc_url(home_url('/')); ?>">
                                        <i class="fac fac-cog space-right"></i>
                                        <?php echo esc_html__('Go Home now', 'consultio'); ?>   
                                    </a>
                                </div>
                            </div>
                        </section>
                    <?php } else { ?>
                        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                            <div class="entry-content clearfix">
                                <?php $post = get_post($page_custom_404);
                                if (!is_wp_error($post) && $post->ID == $page_custom_404 && class_exists('Case_Theme_Core') && function_exists('ct_print_html')){
                                    $content = \Elementor\Plugin::$instance->frontend->get_builder_content( $page_custom_404 );
                                    ct_print_html($content);
                                } ?>
                            </div>
                        </article>
                    <?php } ?>
                </main><!-- #main -->
            </div><!-- #primary -->
        </div>
    </div>

<?php
get_footer();