Can I Make The Blog Page 1st Post An Excerpt?

Community Forums Forums General Discussion Can I Make The Blog Page 1st Post An Excerpt?

This topic is: not resolved

Tagged: 

This topic contains 6 replies, has 2 voices, and was last updated by  anitac 8 months, 4 weeks ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #68898

    KenTheriot
    Participant
    Post count: 77

    I would like the first blog post on my blog page to show up as an excerpt. I found a post in this forum with some code that allowed the search results to show up as excerpts. But for some reason, I can’t figure out how to make the first post show as an excerpt too.

    BTW, I am not using a static front page for this site – http://www.ravenboymusic.com/

    Is there a quick way to do this? Thanks.

    Ken

    http://www.ravenboymusic.com/
    #68901

    anitac
    Participant
    Post count: 6991

    You can set the content limit in the home.php file. Look for this:

    [php] if ( function_exists( ‘genesis_grid_loop’ ) ) {
    genesis_grid_loop( array(
    ‘features’ => 1,
    ‘feature_image_size’ => 0,
    ‘feature_image_class’ => ‘alignleft post-image’,
    ‘feature_content_limit’ => 0,
    ‘grid_image_size’ => ‘grid-featured’,
    ‘grid_image_class’ => ‘grid-featured’,
    ‘grid_content_limit’ => 250,
    ‘more’ => __( ‘[Continue reading]‘, ‘eleven40′ ),
    [/php]

    Change the 0 in the featured_content_limit to what you want.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #68965

    KenTheriot
    Participant
    Post count: 77

    Thanks Anitac. I changed it to a 1 and then all I get is the headline of the first post. And it seems like that is the case no matter what non-zero number I put in there. Is there no way to make it be the picture and the first hundred words of the post or something like that?

    Your answer did help a lot though! As a “next-best-thing” I’ve set the number of features to 0, which is closer to what I want than what I had.

    The main problem was that if the entire post was visible on the blog page, there was no reason for folks to click through to the article.

    Thanks.

    Ken

    • This reply was modified 9 months ago by  KenTheriot.
    • This reply was modified 9 months ago by  KenTheriot.
    #68966

    anitac
    Participant
    Post count: 6991

    Oh, no… you need to change it to the number of characters – like 250, or 300.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #68967

    anitac
    Participant
    Post count: 6991

    See your grid_content_limit is set to 250 characters. So you can change the feature to 100, 200, 250.. or whatever you want.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #69100

    KenTheriot
    Participant
    Post count: 77

    Perfect. Thanks!

    Ken

    #69103

    anitac
    Participant
    Post count: 6991

    You’re welcome.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.