WordPress.org

Ready to get started?Download WordPress

Forums

"Twenty Eleven" Post Summary/Excerpt (2 posts)

  1. jennifer2010
    Member
    Posted 2 years ago #

    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!

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    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 -

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.