Genesis includes a built in grid loop which you can add to any child theme.
There’s a few settings which you will need to configure in the code to determine if you want your posts displayed:
- In a grid which displays them in 2 columns
- In full width which is called features
- Or a certain amount of features and the rest in a grid
Add Custom Images Sizes For Grid Loop
If you want to display images for both features and the grid loop, you can add custom sizes to your child themes functions file using this code.
The code below assumes you have added new image sizes.
2 Column Grid
Here’s the code you can add to your front-page.php file to display all posts in a 2 column grid.
Simply make sure the features parameter is set to 0.
Features & 2 Column Grid
Here’s the code you can add to your front-page.php file to display any number of posts as features which are full width and the rest in a 2 column grid.
Simply set the features parameter to the number of full width features you want and the balance will display in a 2 column grid.
All Full Width Features
Here’s the code you can add to your front-page.php file to display all your posts as features which are full width.
Simply set the features parameter to the same number of posts you have set to display per page in your WordPress > Settings > Reading > Blog pages show at most.
Was This Tutorial Helpful?