Support » Themes and Templates » [Resolved] the_content() in single.post displays no content
9 years, 6 months ago
In single.php I have the code:
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
But it shows only the title, not the content.
I just don’t understand why it doesn’t show the content.
I finally found it out myself.
I forgot to put the_content() in a loop.
That’s why it didn’t show any content.