Want to disaply entire posts on the home page

Discussion in 'WordPress' started by jacksonkelly, Jun 10, 2011.

  1. #1
    I want to show a whole post on my home page rather than just a preview, forcing ythe visitor to click on the title to view it all. Does anyone know how to do this?

    Thanks,

    Jackson
     
    jacksonkelly, Jun 10, 2011 IP
  2. alvintlh

    alvintlh Member

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    Hi Jackson Kelly,

    To display full post instead of post excerpts on your home page, you can perform the following steps:

    1. Backup your index.php before make any changes.
    2. Now go to index.php and search for this keyword "the_excerpt"
    3. If the keyword found, then replace with "the_content"

    Please let me know whether it works for your theme.

    Regards,
    Alvin
     
    alvintlh, Jun 10, 2011 IP
  3. jacksonkelly

    jacksonkelly Peon

    Messages:
    427
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks Alvin.

    But all I get in the index file is:

    <?php pt_site_framework(); ?>
     
    jacksonkelly, Jun 10, 2011 IP
  4. alvintlh

    alvintlh Member

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    are you using wordpress?
     
    alvintlh, Jun 10, 2011 IP
  5. robciucionut

    robciucionut Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    @jacksonkelly - Edit "index.php" -> delete <?php the_content(); ?> -> you will replaced with: <?php the_excerpt(); ?> Good luck! :)
     
    robciucionut, Jun 12, 2011 IP