Hello,
I was looking into what's everyones thoughts on designing themes with php includes as opposed to throwing everything into functions.php.
e.g.
PHP Code:
remove_action('genesis_header', 'genesis_do_header');
add_action('genesis_header','custom_header');
function custom_header() {
include '/custom-header.php';
}
Does anyone see anything wrong with this practice?
I was thinking about this when creating custom metaboxes and can see how the functions.php can get out of hand with various custom post types.