• littlemissrunshine

    (@littlemissrunshine)


    I am fairly new to CSS. I am customizing the Pilcrow theme.

    I was trying to get it so my main page showed excerpts with a picture. I was successful, but posts that have images within the first 55 words show up in the excerpt. I was wondering how to get it so the excerpt ignores all pictures except for the picture I have set as the thumbnail.

    I had edited the loop.php to get the excerpt to work:

    “>
    <img src=”<?php echo get_first_image();?>” class=”alignleft” height=”200″/>

    <div class=”entry entry-content”>
    <?php the_excerpt( __( ‘Continue reading <span class=”meta-nav”>→
    </span>’, ‘pilcrow’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘pilcrow’ ), ‘after’ => ‘</div>’ ) ); ?>
    </div><!– .entry-content –>

    Thank you! Let me know if you need more information! I tried looking around for other posts but none really answered it completely.

    I saw this one: http://wordpress.org/support/topic/controlling-image-display-in-post-excerpts?replies=28 but it then went more on talking about another topic of images and posts.

    http://www.littlemissrunshine.com

  • The topic ‘Excerpt-Extra post pictures showing up’ is closed to new replies.