PluginProbe
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites / 3.1.4
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites v3.1.4
4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 2.6.1 All 38 releases
blockspare / inc / page-templates / templates / full-width.php

full-width.php in BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites 3.1.4, at inc/page-templates/templates/full-width.php

54 lines 941 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) {
3 exit; // Exit if accessed directly.
4 }
5
6 ?>
7 <!DOCTYPE html>
8 <html <?php language_attributes(); ?>>
9
10 <head>
11 <meta charset="<?php bloginfo('charset'); ?>">
12 <?php if (!current_theme_supports('title-tag')) : ?>
13 <title><?php echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
14 ?></title>
15 <?php
16 endif; ?>
17 <?php wp_head(); ?>
18
19 </head>
20
21 <body <?php body_class('blockspare-blank-canvas'); ?>>
22 <?php
23 if (function_exists('wp_is_block_theme')) {
24 if (wp_is_block_theme()) {
25 block_template_part('header');
26
27 } else {
28 get_header();
29 }
30 } else {
31 get_header();
32 }
33 ?>
34 <div class="blockspare-page-section">
35 <?php the_content(); ?>
36 </div>
37 <?php
38
39
40 if (function_exists('wp_is_block_theme')) {
41 if (wp_is_block_theme()) {
42 block_template_part('footer');
43 } else {
44 get_footer();
45 }
46 } else {
47 get_footer();
48 }
49
50 wp_footer();
51 ?>
52 </body>
53
54 </html>