Support » Theme: Twenty Twelve » blog excerpts not working

  • Hi, I have Twenty Twelve set to showing blog excerpts, but it still shows the whole thing. How can I fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • are you using a child theme?

    what files have you edited?

    where do you want to see the excerpts?

    one place to edit would be in content.php (in a child theme);
    this section:

    <?php if ( is_search() ) : // Only display Excerpts for Search ?>
    		<div class="entry-summary">
    			<?php the_excerpt(); ?>
    		</div><!-- .entry-summary -->

    and change if ( is_search() ) : for example to if ( is_search() || is_home() ) : … (this would show excerpts on the main blog page)

    Thanks, no, I’m not using a child theme. As far as I know, no edits have been made to the theme files. What code do I add, and where, to the non-child theme?

    • This reply was modified 1 year, 4 months ago by  vicky2.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘blog excerpts not working’ is closed to new replies.