Customizing the Standard Loop

Community Forums Forums Design Tips and Tricks Customizing the Standard Loop

This topic is: not resolved

This topic contains 7 replies, has 4 voices, and was last updated by  willb 2 years, 10 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #4017


    I’m trying to customize the home page on a site. I’d like to keep the standard loop (not use grid-loop), but I want one full-length featured post and several posts with excerpts only. I know how to customize the grid-loop just find to get the correct excerpts, number of posts and featured images.

    I’m just not that sure about customizing the standard loop seeing is it’s not even in the theme home.php file.

    I’m using innov8tive child theme.



    • This topic was modified 2 years, 11 months ago by  willb.
    • This topic was modified 2 years, 11 months ago by  willb.


    The “grid” appearance on this home page does not come from the loop.  It comes from featured posts in widget areas on the home page.



    Did you look at the link? I am not using the homepage widget structure.

    I know this is a more general question and not theme specific. Nick asked me to post it here.



    You will need to wright a new home.php to include the loop.

    Find info here:



    I would like to know how to do this, too. But the code on the grid loop page breaks my site when I follow the directions.



    you might check out this tutorial I wrote that explains a bit more on how the page templates work and how to make a front page template



    Thanks, Nick. I had already seen that page, but it doesn’t help me. I don’t want to create a widgetized page, I want to customize the loop: move the picture above the header, use a custom picture size, remove the excerpt, etc.

    My issue with the the code on StudioPress’s tutorial page is a known bug I’ve had that I had forgotten about. If I copy the code when I first select it, it pastes fine. But if I copy the code after clicking in the code window, the tabs are weird hidden characters that corrupt the code.



    We went another direction in this site, but the issue is still bugging me. I’d like to use the grid loop to have 4 featured posts and 4 excerpts on the home page.

    I read the tutorial and copied the code into my home.php. Here’s what I have:


    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’ ) ) {
    genesis_grid_loop( array(
    ‘features’ => 4,
    ‘feature_image_size’ => 0,
    ‘feature_image_class’ => ‘alignleft post-image’,
    ‘feature_content_limit’ => 0,
    ‘grid_image_size’ => ‘grid-thumbnail’,
    ‘grid_image_class’ => ‘alignleft post-image’,
    ‘grid_content_limit’ => 0,
    ‘more’ => __( ‘[Continue reading…]’, ‘genesis’ ),
    ‘posts_per_page’ => 8,
    ) );
    } else {
    /** Remove the post meta function for front page only **/
    remove_action( ‘genesis_after_post_content’, ‘genesis_post_meta’ );


    It seems like I need to register the grid loop in the functions.php, but nothing says that’s necessary and I’m not sure how to do that.

    Nick I did look at your post, but it didn’t seem to address implementing the grid loop.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.