the_content() “crashes” for single pages

the_content( ); vs get_the_content(); The different is pretty simple actually. If you find yourself annoyed with formatting of the content, more specifically the added p-tags that WordPress puts into the content that you didn’t. Just use get_the_content(); and you will remove those tags.

Normally the get_the_content() tag returns the content WITHOUT formatting. Only the_content() will print the content WITH formatting.

echo apply_filters(‘the_content’, $post->post_content);