1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Wordpress - How to only show summary on main page?

Discussion in 'WordPress' started by rookiethomas, May 30, 2009.

  1. #1
    Is there a plugin or quick fix without having to edit the index.php file......where I can make only a summary or exerpt of the post show on the home page rather than the entire article?
     
    rookiethomas, May 30, 2009 IP
  2. deluxdon

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

    Messages:
    25,480
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #2
    If you are using latest WP then you can use <!--more--> for each blog post so it will display only summary of your all posts at homepage. You can also use any excerpt plugin (dailyblogtips.com/homepage-excerpts-wordpress-plugin/) for that.

    DON.
     
    deluxdon, May 30, 2009 IP
  3. rookiethomas

    rookiethomas Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Can you explain a little bit about the <more> function and where it goes?
     
    rookiethomas, May 30, 2009 IP
  4. deluxdon

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

    Messages:
    25,480
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #4
    You need to add it in each post where you want break articles for homepage.

    If you are not comfortable with that then better you use any excerpt plugin.

    DON.
     
    deluxdon, May 30, 2009 IP
  5. Houdy

    Houdy Peon

    Messages:
    267
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #5
    The <more> function would go at the end of the text you want to show on the post. Everything above the tag will show and then a link to Read More for the whole post. Easier to just try it on a post to see what it does, its not like you can't remove it.

    Using the <more> function has its limitations though and I suggest trying a plugin with a little more control, for instance I like to show the latest post in full and then the excerpt of the rest, here is a plugin that can do that:
    http://www.dailyblogtips.com/homepage-excerpts-wordpress-plugin/
     
    Houdy, May 31, 2009 IP
  6. susan8051

    susan8051 Peon

    Messages:
    1,358
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    0
    #6
    most themes use the function the_content(); do display the content.. in your theme's index.php file find this function call and replace it with the_excerpt(); i hope this works...
     
    susan8051, May 31, 2009 IP