I have a problem with the_excerpt
of WordPress. It is not breaking lines, the post text comes out all together. When I use the_content
, the lines are broken normally.
Does anyone know how to solve this?
I have a problem with the_excerpt
of WordPress. It is not breaking lines, the post text comes out all together. When I use the_content
, the lines are broken normally.
Does anyone know how to solve this?
Do codex :
Displays the excerpt of the current post after applying several filters to it including auto-p formatting which turns double line-breaks into HTML paragraphs. It uses get_the_excerpt () to first generate a trimmed-down version of the full post content should there be an explicit excerpt for the post.
Maybe these several filters (i.e., many filters) are the problem. Experiment to use get_the_excerpt()
instead