Genesis has a useful filter for modifying the attributes of almost any element it outputs. For instance, the featured image on archive pages has an attribute name of ‘entry-image’, so can be modified using the filter genesis_attr_entry-image. The code below allows you to add a custom CSS class to the featured image using this filter.
Set it to 3 or 4 columns in the Grid Settings. The code in functions.php adds additional classes (‘tablet-one-half’ and ‘tablet-first’) to the posts. The code in style.css makes these posts display in 2 columns on tablet (768-960px) and 1 column on mobile ( <768px).
Genesis Title Toggle allows you to selectively hide or display individual page titles. By default it only applies to the ‘page’ post type, but you can add support for any post type. To enable it for posts, place the code below in your theme’s functions.php file (or a core functionality plugin).
In this example, I’m assuming you’re using BE Events Calendar to add an ‘events’ post type, and have enabled the ‘Event Category’ taxonomy. Add this to your theme’s functions.php file to include the event’s category in the breadcrumb. You can apply this to any other post type/taxonomy by changing ‘events’ and ‘event-category’ to your post…
If you’re using a Genesis theme, make sure your homepage has an h1 on it. This article outlines how to find it, and how to add it if you don’t already have one.
Make sure your Genesis theme doesn’t conflict with this great new WordPress feature.
A lot of sites I’ve developed recently use a full width approach for their homepages and landing pages. Examples: OutboundEngine, Bloomfire, Informal Cowboy, and WebAssign. On pages like this, Genesis outputs a lot of markup you don’t need, like divs for .site-inner .wrap, .content-sidebar-wrap, .content, .entry …. We could remove the styling from those elements…
This snippet will let you register a Blog Sidebar, and use that sidebar through the blog section of your site (blog home, single posts, categories, tags…). The Primary Sidebar will be used for the rest of the website.
Don’t want “Blog” and “Archive” templates available in your child theme? Now that’s possible with WordPress 3.9.
I walk you through adding a portfolio to your child theme, using an existing plugin and a few tweaks to your theme.