Есть код вывода контента в single.php. Если добавить The _post(); то ошибка вывода the_content(); нет. вот как я сделал
<div class="container">
<h1><?php the_title(); ?></h1>
<div class="informashion">
<div class="date"><?php the_date( 'd-m-Y'); ?></div>
<div class="views"><?php echo get_post_meta ($post->ID,'views',true); ?></div>
<div class="coments"><p>Коментарии</p></div>
</div>
<div class="content-text">
<p><?php the_post(); the_content();?></p>
</div>
<div class="main-content">
<div class="assessment"></div>
<div class="image"><?php the_post_thumbnail('thumbnail'); ?></div>
</div>
</div>
но он задаёт 2p на сайте. Как переписать цикл, что бы было всё нормально?
Продвижение своими сайтами как стратегия роста и независимости