/home/smartbloks/www/help.smartbloks.ai/wp-content/themes/docly/404.php
<?php
/**
 * The template for displaying 404 pages (not found)
 *
 */
get_header();
$opt = get_option('docly_opt' );
$title  =!empty($opt['error_heading']) ?  $opt['error_heading'] : esc_html__( 'Error. We can’t find the page you’re looking for.', 'docly' );
$subtitle = !empty($opt['error_subtitle']) ? $opt['error_subtitle'] : esc_html__("We can't seem to find the page you're looking for", "docly");
$btn_title  =!empty($opt['error_home_btn_label']) ?  $opt['error_home_btn_label'] : esc_html__( 'Go Back to home Page', 'docly' );
$bg_shape = !empty( $opt['bg_shape']) ? $opt['bg_shape'] : DOCLY_DIR_IMG.'/404_bg.png';
$error2_image = !empty( $opt['error2_image']['url']) ? $opt['error2_image']['url'] : DOCLY_DIR_IMG.'/new/error.png';
?>

<section class="error_area bg_color">
    <div class="error_dot one"></div>
    <div class="error_dot two"></div>
    <div class="error_dot three"></div>
    <div class="error_dot four"></div>
    <div class="container">
        <div class="error_content_two text-center">
            <div class="error_img">
                <img class="p_absolute error_shap" src="<?php echo esc_url($bg_shape) ?>" alt="<?php esc_attr_e('404 page background shape.', 'docly'); ?>">
                <div class="one wow clipInDown" data-wow-delay="1s">
                    <img class="img_one" src="<?php echo DOCLY_DIR_IMG ?>/404_two.png" alt="<?php esc_attr_e('4 illustration', 'docly'); ?>">
                </div>
                <div class="two wow clipInDown" data-wow-delay="1.5s">
                    <img class="img_two" src="<?php echo DOCLY_DIR_IMG ?>/404_three.png" alt="<?php esc_attr_e('0 illustration', 'docly'); ?>">
                </div>
                <div class="three wow clipInDown" data-wow-delay="1.8s">
                    <img class="img_three" src="<?php echo DOCLY_DIR_IMG ?>/404_one.png" alt="<?php esc_attr_e('4 illustration', 'docly'); ?>">
                </div>
            </div>
            <?php if ( !empty($title) ) : ?>
                <h2><?php echo wp_kses_post($title) ?></h2>
            <?php endif; ?>
            <?php echo !empty($subtitle) ? wp_kses_post(wpautop($subtitle)) : ''; ?>
            <form action="<?php echo esc_url(home_url('/')) ?>" class="error_search">
                <input type="text" name="s" class="form-control" placeholder="<?php esc_attr_e('Search', 'docly' ) ?>">
            </form>
            <a href="<?php echo esc_url(home_url('/')) ?>" class="action_btn box_shadow_none">
                <?php echo esc_html($btn_title) ?><i class="<?php docly_arrow_left_right() ?>"></i>
            </a>
        </div>
    </div>
</section>

<?php
get_footer('empty');