Add Google AdSense to Genesis Framework Theme

If you would like to add Google AdSense advertisements to your genesis framework theme, here is the method I use. These instructions assume your genesis child theme is using html5. If you are not using an html5 child theme, the code below will need to be modified slightly. 1. Add the following 2 code sections to your genesis child theme functions.php Register 2 new widget areas [sourcecode language=“php”]genesis_register_sidebar( array( ‘id’ => ‘wpselect_before_post_content’, ’name’ => __( ‘Before Post Content’, ‘genesis’ ), ‘description’ => __( ‘Displays on single posts before post content....

August 24, 2013

Add Google Custom Search to Genesis Framework Theme

If you would like to replace the default WordPress search with Google custom search here is the method I use. This implementation of Google custom search is reliant on using the Genesis Framework. 1. Create a Google custom search engine Go to http://www.google.com/cse and create a custom search engine for your site. Make sure that the look and feel layout setting is set to Results only as shown in the image below....

January 15, 2013