HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/school/wp-content/themes/blocksy/404.php
<?php
/**
 * The template for displaying 404 pages (not found)
 *
 * @link https://codex.wordpress.org/Creating_an_Error_404_Page
 *
 * @package Blocksy
 */

get_header();

if (
	function_exists('blc_get_content_block_that_matches')
	&&
	blc_get_content_block_that_matches([
		'template_type' => '404',
		'match_conditions' => false
	])
) {
	echo blc_render_content_block(
		blc_get_content_block_that_matches([
			'template_type' => '404',
			'match_conditions' => false
		])
	);
} else {
	if (
		! function_exists('elementor_theme_do_location')
		||
		! elementor_theme_do_location('single')
	) {
		get_template_part('template-parts/404');
	}
}

get_footer();