• Hi everyone,
    I’m a little new at this but I appreciate any help. How would I go about changing how much text the entry summary would show on the slider? At this point it shows more than I want. I need the summary to only take the first 150 characters, is that possible?

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter nashsk

    (@nashsk)

    I found this piece of code in loop-slider.php. From what I can tell the ‘the_excerpt’ function is what I need to change. I just don’t know how to do that. Is that in functions.php?

    Thanks,

    <li class=”slide”>
    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?><?php if( isset( $thumbnail ) ) : ?> style=”background:url(<?php echo $thumbnail[0]; ?>) center no-repeat”<?php endif; ?>>
    <div class=”opacity”></div>
    ” rel=”bookmark”>
    <div class=”entry-container”>
    <h2 class=”entry-title”>” title=”<?php the_title_attribute(); ?>” rel=”bookmark”><?php the_title(); ?></h2>
    <div class=”entry-summary”>
    <?php the_excerpt(); ?>
    <div class=”clear”></div>
    </div><!– .entry-summary –>

    </div><!– .entry-container –>
    </div><!– .post –>

Viewing 1 replies (of 1 total)
  • The topic ‘Entry summary code on slider’ is closed to new replies.