In a past version of the theme (1.2 or 1.3 I can’t remember) I was able to add code to the home.php file to get the grid loop to show the last ten post on the home page.
I inserted the following code below home-feature-14
It doesn’t seem to work with front-page.php
Any advice?
remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );
add_action( ‘genesis_loop’, ‘eleven40_grid_loop_helper’ );
/** Add support for Genesis Grid Loop */
function eleven40_grid_loop_helper() {
if ( function_exists( ‘genesis_grid_loop’ ) ) {
genesis_grid_loop( array(
‘features’ => 0,
‘feature_image_size’ => 0,
‘feature_image_class’ => ‘alignleft post-image’,
‘feature_content_limit’ => 0,
‘grid_image_size’ => ‘grid-thumbnail’,
‘grid_image_class’ => ‘alignnone’,
‘grid_content_limit’ => 250,
‘more’ => __( ‘[Read more…]’, ‘genesis’ ),
) );
} else {
genesis_standard_loop();
}
}