HEX
Server: Apache/2.4.38 (Debian)
System: Linux host457 5.14.0-4-amd64 #1 SMP Debian 5.14.16-1 (2021-11-03) x86_64
User: www-data (33)
PHP: 7.4.21
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/vhosts/harpoeditore.it/httpdocs/wp-content/themes/mindig/theme/templates/404/404.php
<?php
/*
 * This file belongs to the YIT Framework.
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-3.0.txt
 */

$image_url = "";
$text = "";

$is_custom_content = yit_get_option( 'content-enable-404' );
$custom_text = yit_get_option( 'content-404-text' );
$custom_image = yit_get_option( 'content-404-image' );

$background_image = yit_get_option( 'content-404-background' );
$background_repeat = yit_get_option( 'content-404-background-repeat' );
$background_position = yit_get_option( 'content-404-background-position' );
$background_attachment = yit_get_option( 'content-404-background-attachment' );

//---------------------------------------------------------------------

$image_url = ( $is_custom_content == 'yes' && $custom_image != '' ) ? $custom_image : get_template_directory_uri() . "/images/404.png";
$text = ( $is_custom_content == 'yes' && $custom_text != '' ) ? yit_convert_tags( do_shortcode( stripslashes( $custom_text ) ) ) : __( 'maybe you\'re lost.', 'yit' );

?>
<div class="error-404-container">

    <div class="error-404-image-text">
        <?php if ( isset( $image_url ) && $image_url != '' ): ?>
            <img class="error-404-image" src="<?php echo $image_url ?>" title="<?php _e( 'Error 404', 'yit' ); ?>" alt="404" />
        <?php endif; ?>
        <p class="error-404-text"><?php printf( $text, home_url() ) ?></p>
    </div>
    <div class="error-404-search">
        <?php get_search_form(); ?>
    </div>

</div>

<style type="text/css">
    .error-404-container {
        background-image: url(<?php echo $background_image ?>);
        background-repeat: <?php echo $background_repeat ?>;
        background-position: <?php echo $background_position ?>;
        background-attachment: <?php echo $background_attachment ?>;
    }
</style>