how to showexcerpts automatically in wordpress

Discussion in 'WordPress' started by falguni1, Aug 16, 2009.

  1. #1
    how to showexcerpts automatically in wordpress.

    I need a plugin.

    dont want to add manual excerpts. please suggest a plugin which works irrespective of the theme used.
     
    falguni1, Aug 16, 2009 IP
  2. rahulsonar

    rahulsonar Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
  3. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #3
    Check out below given.

    wordpress.org/extend/plugins/advanced-excerpt/

    DON.
     
    deluxdon, Aug 17, 2009 IP
  4. falguni1

    falguni1 Peon

    Messages:
    3,016
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I changed the_content to the_excerpt.
     
    falguni1, Aug 17, 2009 IP
  5. DesignWeb

    DesignWeb Active Member

    Messages:
    251
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #5
    I think this is the right way. I always avoid using plugins for simple tasks like this or anything that requires some quick theme editing. More plugins activated = slow WP ;)
     
    DesignWeb, Aug 17, 2009 IP
  6. freesecrets

    freesecrets Active Member

    Messages:
    83
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #6
    I recommend go with Advanced Excerpts - it will not slow down your blog enough to justify not having it. Great plugin that enabled you to have a nicely formatted excerpt of your post and avoid duplicate content issues
     
    freesecrets, Aug 19, 2009 IP
  7. webprone

    webprone Well-Known Member

    Messages:
    163
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    133
    #7
    Few simple steps to add excerpt in your wordpress blog
    1.Open your main index.php file (located in wp-content>theme>your theme)
    2.Check for similar codes

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
    <div class="entry">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div>
    <p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong>
    <?php edit_post_link('Edit','','<strong>|</strong>'); ?>
    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    </p>
    </div>
    PHP:

    3.Replace
    <?php the_content('Read the rest of this entry &raquo;'); ?> 
    PHP:
    with
    <?php the_excerpt();?>
    PHP:
    -
    Thanks
     
    webprone, Aug 19, 2009 IP
  8. falguni1

    falguni1 Peon

    Messages:
    3,016
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    0
    #8
    thanks a lot everybody.
     
    falguni1, Aug 21, 2009 IP
  9. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #9
    Just use the "more" tag. Real simple and no plug ins.
     
    hmansfield, Aug 22, 2009 IP