I have images in the beginning of my pages which I want to show in their excerpts. I tried commenting out
$excerpt = htmlspecialchars_decode($excerpt);
in pages_exerpts.php
it worked on my localhost server but not online which showed the damaged image icon instead of the images.
How do I make the images appear in the excerpts?
[EDIT] Also, the text loses its formatting and line breaks. I want it to maintain its formatting.
$excerpt = htmlspecialchars_decode($excerpt);
in pages_exerpts.php
it worked on my localhost server but not online which showed the damaged image icon instead of the images.
How do I make the images appear in the excerpts?
[EDIT] Also, the text loses its formatting and line breaks. I want it to maintain its formatting.