To make it easier to select a background color from a color picker in the customizer, add this to your functions.php file. //* Add support for custom background add_theme_support( ‘custom-background’, array( ‘wp-head-callback’ => ‘themename_background_callback’ ) ); //* Add custom background callback for background color function themename_background_callback() { if ( ! get_background_color() ) return; printf( ”…
Read More
Genesis “Back to Top” Shortcode
One of the reasons I love Genesis is all the great shortcodes that are already programmed in. I wrote an article about the Genesis shortcode back in 2012 that you could use to add a “Back to top” link to any long pages. Since that time, Genesis has started using HMTL5, and removed the #wrap…
Read More
Category Blog Pages in Genesis
The other day I was working on a site where the client wanted a page where the posts of just one category would show. I wanted a pretty url (not with /category/ in front of it) so I was getting ready to create a custom page template for it when I discovered this super easy…
Read More
Create Widget Area Above Footer Widgets in Genesis
Recently, I had a client who needed a full width widget area above the footer widgets that showed up on every page. You probably know that Genesis themes make it super easy to add those 3 footer widgets by simply adding this code to your functions.php file: //* Add support for 3-column footer widgets add_theme_support(…
Read More
Fun Looks for Google Fonts
I already love Google Fonts, but we I recently learned you can add effects to them through Google’s own API – how great is that?? I don’t recommend using all these effects, but have fun trying a few: See the full list of effects and find out more here: https://developers.google.com/fonts/docs/getting_started#Effects To use them with your…
Read More
Genesis: Add Previous / Next Arrows After Single Posts
Add this to your functions.php file to add Prev/Next arrows after your single post. Simply use a different Genesis Hook to add them somewhere else. /** Genesis Previous/Next Post Post Navigation */ add_action( ‘genesis_after_comments’, ‘eo_prev_next_post_nav’ ); function eo_prev_next_post_nav() { if ( is_single() ) { echo ”; previous_post_link( ‘%link’, ‘< Previous’ ); next_post_link( ‘%link’, ‘Next >’…
Read More
Use Icons Instead of Text in Your WordPress Menu with Font Awesome
First Choose to use the Plugin or Just a Little Script First, if you don’t already know about Font Awesome, you should really check it out. It makes it super simple to use great icons on your site that scale to whatever size you need. I did a quick post about using a plugin to…
Read More