<?php

$args = array(
	'post_type' => 'dbmob',
	'posts_per_page' => 8,
);
$query = new WP_Query($args);

?>
<section <?php echo get_block_wrapper_attributes(); ?>>
	<h2>DBMOB SAAAALUUUT</h2>
	<?php if ($query->have_posts()) : ?>
		<div class="dbmob-grid">
			<?php while ($query->have_posts()) : $query->the_post(); ?>
				<div class="dbmob-grid__item">
					<?php the_title(); ?>
				</div>
			<?php endwhile; ?>
		</div>
	<?php endif; ?>
</section>