• What may I do to hide the excerpt if it’s empty?
    My (cleaned) code looks like this:

    <?php if ($posts) { foreach ($posts as $post) { start_wp(); ?>
    <?php the_title(); ?>
    <?php the_excerpt(); ?>
    <?php the_content(); ?>

    Now, WP repeats the content.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide empty excerpt’ is closed to new replies.