WordPress.org

Support

Support » How-To and Troubleshooting » "Twenty Eleven" Post Summary/Excerpt

"Twenty Eleven" Post Summary/Excerpt

  • Hi everyone 🙂

    This is my website:
    http://www.madchenarsch.de

    I’m trying to get it so that all posts show only summaries/excerpts as I have selected in Settings > Reading > Summary (opposed to “Full Post”)

    Unfortunately, only “search” pages show the excerpt/summary:
    http://www.madchenarsch.de/?s=testing&submit=Search

    In addition, I’m trying to get it so that the featured image (and the other image I have in my posts) show up in the excerpt, and a way I can just limit the characters to x amount so it shows up just like it does on my home page…

    Thanks so much!

Viewing 1 replies (of 1 total)
  • Moderator Michael

    @alchymyth

    as I have selected in Settings > Reading > Summary (opposed to “Full Post”)

    that option if for feeds only.

    you need to edit this section in content.php;

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

    possibly change:
    if ( is_search() ) :
    to:
    if ( is_search() || is_archive() ) :

    you might need to replicate what you have edited so far to get the layout of your home page –

Viewing 1 replies (of 1 total)
  • The topic ‘"Twenty Eleven" Post Summary/Excerpt’ is closed to new replies.