• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

One Full Post then Excerpts

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › One Full Post then Excerpts

This topic is: resolved

Tagged: Craftiness, Genesis Grid Loop

  • This topic has 8 replies, 3 voices, and was last updated 10 years, 2 months ago by Susan.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • December 29, 2012 at 4:55 pm #8229
    [email protected]
    Member

    Any suggestions on how to show one whole blog post then the rest excerpts (like they currently are). I am using the craftiness theme.

    http://www.keylimeblog.com/

    Kendra

    December 29, 2012 at 4:58 pm #8231
    Anita
    Keymaster

    What I normally do is place one Featured Post widget at the top > set to a specific category and to full image. Then I drag another Featured Post below it > use smaller thumbnails and the excerpt. So think of the top as a "featured category" - create one that will update with just that one category at the top.


    Love coffee, chocolate and my Bella!

    January 1, 2013 at 4:54 pm #8826
    [email protected]
    Member

    That would work but then what about that posts that are currently showing??

    So if I use two "genesis featured post widgets" then posts (duplicates) will still show under those two featured widgets.

    And I need to have at least 5-7 posts showing because that number is the number of Post that show up on the category pages. make sense?

    Any other ideas?

    Happy new year!

    Kendra

    January 1, 2013 at 4:58 pm #8827
    Anita
    Keymaster

    Create a specific category just to use for the top that way they won't show duplicates at the bottom. Maybe you have some entries that you would like to highlight a bit more than others. At least that's how I do it.


    Love coffee, chocolate and my Bella!

    January 1, 2013 at 5:53 pm #8851
    Susan
    Moderator

    The Craftiness theme uses the Genesis Grid Loop.

    In your home.php, look for this:

    /** Add support for Genesis Grid Loop */
    function craftiness_grid_loop_helper() {
    if ( function_exists( 'genesis_grid_loop' ) ) {
    genesis_grid_loop( array(
    'features' => 2,
    'feature_image_size' => 'featured',
    'feature_image_class' => 'alignleft post-image',
    'feature_content_limit' => 500,
    'grid_image_size' => 'thumbnails',
    'grid_image_class' => 'alignleft post-image',
    'grid_content_limit' => 0,
    'more' => __( '[Continue reading...]', 'genesis' ),
    'posts_per_page' => 10,
    'offset' => 0,
    ) );
    } else {
    genesis_standard_loop();
    }
    }

     

    Change the number of "features" from 2 to 1.

    Remove this line: 'feature_content_limit' => 500,

    Change this line to feature the number of characters in your excerpt: 'grid_content_limit' => 0,

    January 2, 2013 at 2:05 am #8910
    [email protected]
    Member

    Thanks Susan!

    So that worked, one whole post is showing and then excerpts but the featured image is still at the top of the "full" post with the border around it. How can I remove that from the full post?

    Kendra

    January 2, 2013 at 10:15 am #8953
    Susan
    Moderator

    Kendra - I can't test it right now (I can come back later, but rather than have you waiting on me all day);

    Using the same code from earlier, I believe if you remove this:

    ‘feature_image_size’ => ‘featured’,

    that will take care of it.

    January 3, 2013 at 12:52 am #9124
    [email protected]
    Member

    worked perfect thanks!!!

    January 3, 2013 at 6:54 am #9153
    Susan
    Moderator

    Great! Closing this thread as resolved. 🙂

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘One Full Post then Excerpts’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble