PluginProbe
Post Grid Gutenberg Blocks – PostX / 2.2.5
Post Grid Gutenberg Blocks – PostX v2.2.5
5.0.41 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 All 238 releases
← All changes | classes/template-without-title.php +3 -3 2.1.12.2.5 View file →
@@ -1,10 +1,10 @@
1 1 <?php
2 2 defined('ABSPATH') || exit;
3 3
4 4 get_header();
5 -$width = ultimate_post()->get_setting();
6 -$width = isset($width['container_width']) ? $width['container_width'] : '1140';
5 +$width = ultimate_post()->get_setting('container_width');
6 +$width = $width ? $width : '1140';
7 7 ?>
8 8 <div class="ultp-template-container" style="margin:0 auto;max-width:<?php echo $width;?>px; padding: 0 15px">
9 9 <?php
10 10 while ( have_posts() ) : the_post();
@@ -10,7 +10,7 @@
10 10 while ( have_posts() ) : the_post();
11 11 the_content();
12 12 endwhile;
13 13 ?>
14 -<div>
14 +</div>
15 15 <?php
16 16 get_footer();