Word press: preview of the post on home page?

Discussion in 'Blogging' started by Alan Murray, Jul 10, 2008.

  1. #1
    How do I set up just a short preview of the post on the home page in word press with the user to click on read more to read the full post?



    Using the latest version. Thank in advance for any help.
     
    Alan Murray, Jul 10, 2008 IP
  2. Alan Murray

    Alan Murray Well-Known Member

    Messages:
    1,044
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    145
    #2
    Just to clarify when I do a new post the whole post appears on the front page. I want maybe only the first paragraph with a link to the full post to appear. Any help would be appreciated on this. Using latest version.
     
    Alan Murray, Jul 10, 2008 IP
  3. roxite

    roxite Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    use the <!--more--> tag

    there also a button for it located in the same row with Bold, Italics, Center, etc

    hope this helps!
     
    roxite, Jul 10, 2008 IP
  4. deluxdon

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

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #4
    Search for:

    <?php the_content(); ?>
    Code (markup):
    in your index.php Change it to:

    <?php the_excerpt(); ?>
    Code (markup):
    If you want to do this in single post as well then change this in single.php

    Hope it helps.

    DON.
     
    deluxdon, Jul 10, 2008 IP
  5. Alan Murray

    Alan Murray Well-Known Member

    Messages:
    1,044
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    145
    #5
    Thanks for the help.
     
    Alan Murray, Jul 11, 2008 IP