Support » Fixing WordPress » Show excerpts if no "read more" in post?

  • I’m currently working on a loop that is showing the content of post up to the “read more” spot. Looks like this:

    <p><?php the_content('Read more »'); ?></p>

    But what I’d like to be able to do is show the_excerpt instead if there is no “read more” inserted into a post… I’ve been searching around but can’t seem to find the right way to use conditional/query code to deliver that…

    Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show excerpts if no "read more" in post?’ is closed to new replies.