# ultimate-post/2.5.2/classes/template-without-title.php

Post Grid Gutenberg Blocks – PostX, version 2.5.2. 20 lines.

- Page: https://pluginprobe.com/plugins/ultimate-post/2.5.2/code/classes/template-without-title.php
- Raw: https://pluginprobe.com/plugins/ultimate-post/2.5.2/raw/classes/template-without-title.php
- Modified: 2021-11-22T08:04:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ultimate-post/2.5.2/code/classes/template-without-title.php#L10-L20`.

```php
<?php
defined('ABSPATH') || exit;

get_header();
$width = ultimate_post()->get_setting('container_width');
$width = $width ? $width : '1140';
?>
<div class="ultp-template-container" style="margin:0 auto;max-width:<?php echo $width;?>px; padding: 0 15px">
	<?php
		while ( have_posts() ) : the_post();
			the_content();

			if ( comments_open() || get_comments_number() ) {
				comments_template();
			}
		endwhile;
	?>
</div>
<?php
get_footer();
```
