Need 'Posts Loop' to show content instead of excerpt
-
Hi,
I am using the Posts Loop shortcode with the ‘default-loop.php’ template. Currently, the loop is working fine, except that it is showing the post excerpt. I need it to show the post content instead (the excerpt field for these posts are already filled with text that is being used for a different purpose).
I thought it would be as easy as exchanging:
`<div class=”su-post-excerpt”>
<?php the_excerpt(); ?>
</div>`with:
`<div class=”su-post-content”>
<?php the_content(); ?>
</div>`…which I found in the single-post.php template. However, this broke the page. There is only text in the content areas, so I’m sure there is something programmatic that I am missing.
Can anyone help?
- The topic ‘Need 'Posts Loop' to show content instead of excerpt’ is closed to new replies.