Diff: STRATO-apps/wordpress_03/app/wp-content/themes/blocksy/404.php

Keine Baseline-Datei – Diff nur gegen leer.
Zur Liste
1 -
1 + <?php
2 + /**
3 + * The template for displaying 404 pages (not found)
4 + *
5 + * @link https://codex.wordpress.org/Creating_an_Error_404_Page
6 + *
7 + * @package Blocksy
8 + */
9 +
10 + get_header();
11 +
12 + if (
13 + function_exists('blc_get_content_block_that_matches')
14 + &&
15 + blc_get_content_block_that_matches([
16 + 'template_type' => '404',
17 + 'match_conditions' => false
18 + ])
19 + ) {
20 + echo blc_render_content_block(
21 + blc_get_content_block_that_matches([
22 + 'template_type' => '404',
23 + 'match_conditions' => false
24 + ])
25 + );
26 + } else {
27 + if (
28 + ! function_exists('elementor_theme_do_location')
29 + ||
30 + ! elementor_theme_do_location('single')
31 + ) {
32 + get_template_part('template-parts/404');
33 + }
34 + }
35 +
36 + get_footer();
37 +