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.

How to display summary post at the wordpress blog homepage?

Discussion in 'HTML & Website Design' started by ms4u, Feb 19, 2009.

  1. #1
    Hi,

    I want to know how do I display a short summary, insteads of full article post, of wordpress post at my blog homepage. currently, my blog homepage:

    http://www.moneysearch4u.com/online-casino-blog/

    you can see it currently display full article post at my blog homepage. how do I display a short summary as what most other blogs do? do i use "except"? I typed in the texts, but it didn't display anything. What should I do?

    Thanks
     
    ms4u, Feb 19, 2009 IP
  2. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Change <?php the_content(); ?> to <?php the_excerpt(); ?> in index.php, this limits it to a certain amount of words.

    However there is another way I just remembered, when writing your posts if you add:
    <!--more-->
    Then everything before this is put as the snippet on the homepage.

    For example:

    My Post Summary Text <!--more--> More Post Text

    Only My Post Summary Text will be displayed on the homepage, then all of it will be displayed on the post page.

    So either use that or the excerpt to auto limit every post to about 50 words i think it is.!
     
    wd_2k6, Feb 19, 2009 IP
  3. vikassah

    vikassah Peon

    Messages:
    81
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    <!--more--> offers good control and a link "Read more" will be displayed for the user to read the rest of the post
     
    vikassah, Feb 20, 2009 IP
  4. kisanka

    kisanka Member

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    have a try, this will help you

    http://www.problogdesign.com/how-to/the-2-methods-of-showing-excerpts/
    Code (markup):
     
    kisanka, Feb 21, 2009 IP
  5. mobrocker

    mobrocker Peon

    Messages:
    99
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thank you very much guys! Got various solutions for short summary for my blog post article to be displayed at the homepage.
     
    mobrocker, Aug 6, 2009 IP