Community Forums › Forums › Design Tips and Tricks › Homepage teasers question
Tagged: exclude categories, home page, simply exclude
This topic contains 7 replies, has 3 voices, and was last updated by anitac 6 months, 1 week ago.
-
AuthorPosts
-
December 10, 2012 at 9:46 pm #4385
I am trying to get my site’s homepage to show the full blog posts or the teaser of each blog posts (I need to see the final result before deciding). But as it is now, the homepage is showing the first 2 posts as a teaser which stretches the whole content section, but beyond that, the other old posts are split into half within the content section. Meaning to say, for the whole width of the content section, I see 2 teasers, but I only want to see one teaser for the whole content width. How do I do that?
Also, how do I change the image that is shown on the teasers on the homepage?
December 10, 2012 at 10:18 pm #4397Hi qleapent,
Could you post a link to the site? It makes it easier for us to help. It sounds as if your theme is using the Genesis Grid Loop on a custom home.php file.
Blog | Twitter | GitHub | Google Code
December 10, 2012 at 11:13 pm #4402Hi Len,
The site is http://www.myradiary.com, I am using the pretty theme for my wife’s site.
Please kindly advice as to how I can do the stuff I mentioned in my initial post.
Thanks.
December 10, 2012 at 11:41 pm #4405Hi Ted,
Just looking at a copy of Pretty right now. Yes, this theme uses the Genesis Grid Loop. Take a look at home.php and you’ll see this …
/** Add support for Genesis Grid Loop */
function pretty_grid_loop_helper() {
genesis_grid_loop( array(
'features' => 2,
'feature_image_size' => 'feature',
'feature_image_class' => 'post-image',
'feature_content_limit' => 300,
'grid_image_size' => 'grid-thumbnail',
'grid_image_class' => 'alignleft post-image',
'grid_content_limit' => 150,
'more' => __( '[Continue reading]', 'genesis' ),
'posts_per_page' => 6,
) );
}That is the Genesis Grid Loop. There are all sorts of things you can configure here. If you only want to display 1 teaser instead of 2 change …
'features' => 2,to …
'features' => 1,With respect to the images, you can set a feature image for each post while you’re in the Create Post screen. If you don’t set a feature image, it will automatically pull the first image from within the post (if there is one) and display that instead.
Edit: this editor is mangling the code I’m trying post.
Blog | Twitter | GitHub | Google Code
-
This reply was modified 6 months, 1 week ago by
Len.
-
This reply was modified 6 months, 1 week ago by
Len.
-
This reply was modified 6 months, 1 week ago by
Len. Reason: mangling my code
-
This reply was modified 6 months, 1 week ago by
Len.
-
This reply was modified 6 months, 1 week ago by
Len.
-
This reply was modified 6 months, 1 week ago by
Len.
-
This reply was modified 6 months, 1 week ago by
Len.
-
This reply was modified 6 months, 1 week ago by
Len.
-
This reply was modified 6 months, 1 week ago by
Len. Reason: mangling my code
-
This reply was modified 6 months, 1 week ago by
Len.
-
This reply was modified 6 months, 1 week ago by
Len.
-
This reply was modified 6 months, 1 week ago by
Len.
December 10, 2012 at 11:55 pm #4414Thank you so much Len, problem solved for the teasers.
What do I do if I want to show the full blog posts instead of just teasers?
December 11, 2012 at 12:03 am #4416December 11, 2012 at 12:37 am #4424Thank you so much Len.
December 11, 2012 at 6:04 am #4452To share another way of doing this – you could add in the Simply Exclude plugin and you can pick and choose what you want to exclude from various pages – http://wordpress.org/extend/plugins/simply-exclude/.
Need customization services or other help? Visit me here: Cre8tiveDiva.com | Twitter: @thecre8tivediva
Why Not Take The Challenge! – Help us answer some of the unanswered posts -
This reply was modified 6 months, 1 week ago by
-
AuthorPosts
You must be logged in to reply to this topic.