Genesis Grid Loop Advanced Revamped Genesis tutorial from Bill Erickson and Gary Jones

This post is an update to a previous post on the Genesis Grid Loop.

That previous post had some shortcomings, especially concerning the number of grid posts and the number of posts as set in Settings -> Reading. If they didn’t match, then WordPress would declare one or more pages at the end of the pagination for those query of posts as being a 404 Not Found. We needed a better solution, and between legendary Genesis developer Bill Erickson and myself, we’ve come up with one.

View the code

Genesis Split Sidebars Make the primary sidebar split into two equal sidebars

Visually split the primary sidebar in Genesis into two further sidebars, each with their own widget area. For more info about genesis_register_sidebar() see the StudioPress tutorial on How to Register a Widget Area.

View the code

How to Remove Title Attributes on Genesis Menus For those who mistakenly prefer valid code over accessible interactions

Genesis 1.6 has removed the menus that this tutorial applies to, in favour of using native WordPress custom menus, but they can be added back in via Nick‘s Genesis Nav Menu Amplified plugin.

If you’re using the Genesis-created menus from the Theme Settings page, you don’t have as much control or flexibility as using custom menus. You may not want to switch to custom menus, just to remove the title attributes, say, so we need a different solution.
View the explanation and code

Genesis Grid Loop

This post has now been updated to Genesis Grid Loop Advanced. The below post is kept for posterity only.

While the simple example of how to use the Genesis grid loop might be enough to get you up and running, there are far more advanced ways you can use the grid loop to really get the best out of it.

This tutorial will go through the steps to adding a variable column balanced grid for any archive page on your site. If you just want the code, skip to the final section. All of the code snippets go at the end of your child theme functions.php file, just before any closing ?> there might be, except for the CSS which will go at the end of your child theme style.css (or css/custom.css for Prose) file.

This tutorial requires Genesis 1.5 or later to work. Adding it to a child theme while running an earlier version of Genesis will kill your site, so go ahead and update Genesis first!
View the explanation and code

Modify Genesis Breadcrumb Home Link

Although there are other ways you can modify the breadcrumb display in Genesis, one thing not covered is being able to change the URL of the Home breadcrumb when it’s linked. By default, it will point to your home page, which is either a page full of blog posts or a static page, depending on what you have set. Changing it is quite simple.
View how to change it