PluginProbe
Post Grid Gutenberg Blocks – PostX / 3.1.8
Post Grid Gutenberg Blocks – PostX v3.1.8
5.0.39 5.0.38 5.0.37 5.0.36 5.0.35 5.0.34 5.0.33 5.0.32 5.0.31 5.0.30 5.0.29 5.0.28 5.0.27 5.0.26 5.0.25 5.0.23 5.0.24 5.0.22 5.0.21 5.0.20 5.0.19 5.0.18 5.0.17 2.1.1 2.1.2 All 237 releases
ultimate-post / classes / template-without-title.php

template-without-title.php in Post Grid Gutenberg Blocks – PostX 3.1.8, at classes/template-without-title.php

41 lines 890 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 defined('ABSPATH') || exit;
3
4 $header_id = ultimate_post()->conditions('header');
5 $footer_id = ultimate_post()->conditions('footer');
6
7 if( wp_is_block_theme() ) {
8 wp_site_icon();
9 wp_head();
10 if(!$header_id) {
11 block_template_part('header');
12 wp_head();
13 }
14 } else {
15 get_header();
16 }
17
18 $width = ultimate_post()->get_setting('container_width');
19 $width = $width ? $width : '1140';
20 ?>
21 <div class="ultp-template-container" style="margin:0 auto;max-width:<?php echo esc_attr($width); ?>px; padding: 0 15px; width: -webkit-fill-available; width: -moz-available;">
22 <?php
23 while ( have_posts() ) : the_post();
24 the_content();
25
26 if (comments_open() || get_comments_number() ) {
27 comments_template();
28 }
29 endwhile;
30 ?>
31 </div>
32
33 <?php
34 if( wp_is_block_theme() ) {
35 wp_footer();
36 if(!$footer_id) {
37 block_template_part('footer');
38 }
39 } else {
40 get_footer();
41 }