Genesis
Replace WordPress default favicon – and add a full package of icons for mobile and desktop
There’s a really great favicon generator out there that will take your icon and turn it into every file size and type you need for a full range of icons for mobile devices, desktops, and even a Windows tile. Prepare your artwork at least 260px square (transparent PNGs work great), and head over to RealFaviconGenerator.net.…
Read MoreFlip position of site title and description in Genesis
You wouldn’t think this would be so hard to find, but it seems nobody has written how to put the site description above the site title in Genesis. Or my google-fu is exceptionally weak today. In any case, it’s actually quite easy, and this is a whole lot safer than mucking about with CSS positioning: This…
Read MoreCenter menus in Genesis
It drives me nuts that there’s no obvious, easy way to center the nav bar in Genesis (or, to be fair, in most WordPress themes/frameworks). Stumbled across this the other day and found it works really well. If you are using a subnav, change #nav to #subnav in the above CSS. If you are using…
Read MoreFix Double Sidebar Problem with Genesis CPT Archives Plugin
Force full-width layout with Genesis and CPTs
I needed to force a full-width-layout on my single custom type page. After a bit of trial and error, I ended up with this code: Just replace CPTNAME with your custom post type name and you’re good to go.
Read MoreAdd login/logout to WP’s built-in menus
Here’s an easy way to add WordPress’s built-in login/logout link to the your menus. I have it coded to work with Genesis’s menus, but you can make this work with any theme by changing the theme_location argument.
Read MoreAdd scroll easing to Genesis “Return to Top of Page” link
There’s one slightly cool feature built into Genesis that’s always bothered me a bit because it’s so jarring: the Return to Top of Page link in the footer just slams the browser window back to top. I happened across a pretty lightweight way to make that slicker – a little bit of JavaScript: And a…
Read MoreAdd Genesis SEO and Layout Options to CPTs
This is quick and easy. When you create a custom post type while running the Genesis framework, you won’t get Genesis’ built-in SEO controls or layout options. Add this to functions.php and they’ll show up.
Read MoreMove Titles Around in Genesis
From time to time, we like pulling titles out of the normal flow of the page and put them somewhere else. Like above the content-sidebar div (or whatever div holds the page content). This causes problems, though; a customized homepage layout ends up with an unwanted title, category and archive pages display the first post…
Read More