Support » Fixing WordPress » WordPress posts only showing summary
5 years, 2 months ago
I went to settings and have full text selected yet it only shows a 1 line summary. there’s nothing about this listed in theme options. anyone have a clue where it could be in the editor? thanks
This is the index.php:
[Code moderated as per the Forum Rules. Please use the pastebin]
changed ‘excerpt’ to ‘content’ and it worked. hope that helped someone in the need in the future. sorry for post.
<?php the_excerpt(); ?>
will always return, as you’ve found, the automatically generated excerpt.
<?php the_content(); ?>
returns the whole post. This Codex page is a good primer on what various template tags do: