A post of mine is being displayed differently in the category view from the individual post view.
More specifically new line tags, <br> are correctly appearing between lines on post pages but are not appearing on category pages.
For example the following post content per the database:
line 1 <br> line 2 <br>
will appear as two lines on the post page but as one line on the category page
The issue originates from loop.php line 13 get_excerpt(). I know using get_excerpt() is a standard WP function but I think it would be better to use get_content() for this theme.
A post of mine is being displayed differently in the category view from the individual post view.
More specifically new line tags,
<br>
are correctly appearing between lines on post pages but are not appearing on category pages.For example the following post content per the database:
will appear as two lines on the post page but as one line on the category page
The issue originates from
loop.php
line 13get_excerpt()
. I know usingget_excerpt()
is a standard WP function but I think it would be better to useget_content()
for this theme.Let me know what you think.
Thanks!