Community Forums › Forums › Archived Forums › Design Tips and Tricks › One Full Post then Excerpts
Tagged: Craftiness, Genesis Grid Loop
- This topic has 8 replies, 3 voices, and was last updated 13 years, 2 months ago by
Susan.
-
AuthorPosts
-
December 29, 2012 at 4:55 pm #8229
[email protected]
MemberAny suggestions on how to show one whole blog post then the rest excerpts (like they currently are). I am using the craftiness theme.
Kendra
December 29, 2012 at 4:58 pm #8231AnitaC
KeymasterWhat 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.
Need help with customization or troubleshooting? Reach out to me.
January 1, 2013 at 4:54 pm #8826[email protected]
MemberThat 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 #8827AnitaC
KeymasterCreate 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.
Need help with customization or troubleshooting? Reach out to me.
January 1, 2013 at 5:53 pm #8851Susan
ModeratorThe 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]
MemberThanks 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 #8953Susan
ModeratorKendra - 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]
Memberworked perfect thanks!!!
January 3, 2013 at 6:54 am #9153Susan
ModeratorGreat! Closing this thread as resolved. 🙂
-
AuthorPosts
- The topic ‘One Full Post then Excerpts’ is closed to new replies.