Hello everyone, googled for quite a long time, before asking, in general, the essence of the question: something like a product catalog is created on Wordpress, one product is a record, when opening this record it is necessary that the content be located according to the layout as on the screen, but there’s only, in the recording I indicated a thumbnail, and I wrote text and pictures in the content, how now the whole thing can be arranged according to the layout? 
<div class="item_description"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php if ( in_category('3') ) { ?> <div class="post-cat-three"> <?php } else { ?> <div class="post"> <?php } ?> <h4><?php the_title(); ?></h4> <div class="entry"> <?php the_content(); ?> </div> </div> <?php endwhile; else: ?> <p>Sorry, no posts matched your criteria.</p> <?php endif; ?>