Simple GridLoop for Genesis

wp-logo copy

Create a simple grid loop for your Genesis Theme

<?php /** * This file adds the Home Page to the Focus Pro Theme. * * @author StudioPress * @package Focus Pro * @subpackage Customizations */ remove_action( 'genesis_loop', 'genesis_do_loop' ); add_action( 'genesis_loop', 'focus_grid_loop_helper' ); //* Add support for Genesis Grid Loop function focus_grid_loop_helper() { if ( function_exists( 'genesis_grid_loop' ) ) { remove_action( 'genesis_after_post_content', 'genesis_post_meta' ); genesis_grid_loop( array( 'features' => 2, 'feature_image_size' => 'blog', 'feature_image_class' => 'alignleft post-image', 'feature_content_limit' => 800, 'grid_image_size' => … [Continue Reading]