<?php
// Start the engine
require_once(TEMPLATEPATH.'/lib/init.php');

// Add new image sizes
genesis_add_image_size('Featured Image', 590, 330, TRUE);
genesis_add_image_size('Featured Thumb', 200, 115, TRUE);

// Add rounded header
add_action('genesis_after_header', 'goinggreen_round_header_graphic'); 
function goinggreen_round_header_graphic() {
    require(CHILD_DIR.'/after-header.php');
}

// Add widgeted footer section
add_action('genesis_before_footer', 'goinggreen_include_footer_widgets'); 
function goinggreen_include_footer_widgets() {
    require(CHILD_DIR.'/footer-widgeted.php');
}

// Customizes Credit
add_filter('genesis_footer_creds_text', 'footer_creds_filter');
function footer_creds_filter($creds) {
    $creds = 'Copyright [footer_copyright]  &middot; created by <a href="http://gen1one.com" target="_blank">gen1one.com
</a> with <a href="http://www.studiopress.com/" target="_blank">StudioPress &middot;[footer_loginout]';
    return $creds;
}  


// Register widget areas
genesis_register_sidebar(array(
	'name'=>'Homepage',
	'description' => 'This is the featured column of the homepage.',
	'before_title'=>'<h4 class="widgettitle">','after_title'=>'</h4>'
));
genesis_register_sidebar(array(
	'name'=>'Footer #1',
	'description' => 'This is the first column of the footer section.',
	'before_title'=>'<h4 class="widgettitle">','after_title'=>'</h4>'
));
genesis_register_sidebar(array(
	'name'=>'Footer #2',
	'description' => 'This is the second column of the footer section.',
	'before_title'=>'<h4 class="widgettitle">','after_title'=>'</h4>'
));
genesis_register_sidebar(array(
	'name'=>'Footer #3',
	'description' => 'This is the third column of the footer section.',
	'before_title'=>'<h4 class="widgettitle">','after_title'=>'</h4>'
));
?>