Forum Replies Created
-
AuthorPosts
-
demetria
MemberThank you!
March 17, 2016 at 3:06 pm in reply to: Modern Portfolio:Changing number of posts in portfolio widget #181730demetria
MemberThanks!
demetria
MemberYep, I just reduced to 564 and it works smoothly. Thanks so much.
demetria
MemberExcellent- problem solved!! Thanks so much for your help.
demetria
MemberAWESOMENESS! That's exactly what it was- a plugin (from my last template edits). Thanks so much, Andrea.
demetria
MemberWorked like a charm! Thank you sooo much. You were very helpful.
demetria
MemberThanks, Andrea- I see how to change the number of featured posts, but I would like to get rid of the grid layout. Is there a way for my featured posts to show up in a format with title, blog image, and a few lines of the post , several on the page- and get rid of the two-column grid?
demetria
MemberAbsolutely. Thank you for your help.
--------<?php
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'child_grid_loop_helper' );
//* Add support for Genesis Grid Loop
function child_grid_loop_helper() {if ( function_exists( 'genesis_grid_loop' ) ) {
remove_action( 'genesis_before_post_content', 'generate_post_image', 5 );
genesis_grid_loop( array(
'features' => 0,
'feature_image_size' => 'featured',
'feature_image_class' => 'alignleft post-image',
'feature_content_limit' => 50,
'grid_image_size' => 'grid',
'grid_image_class' => 'alignleft post-image',
'grid_content_limit' => 0,
'more' => __( 'Continue reading...', 'genesis' ),
) );
} else {
genesis_standard_loop();
}}
genesis();
-
AuthorPosts