Actually you shouldn’t modify any files of core framework. I suggest you to go with child theme, create new function.php and add the hook. To remove breadcrumb, go with following:
// Removing Breadcrumbs
function remove_breadcrumb() {
remove_action(‘woo_loop_before’,’woo_breadcrumbs’);
}
add_action(‘init’, ‘remove_breadcrumb’);
or on function.php (may be on your child theme):
// Removing Breadcrumbs
function remove_breadcrumb() {
remove_action(‘woo_loop_before’,’woo_breadcrumbs’);
}
add_action(‘init’, ‘remove_breadcrumb’);
you need to put the following code on header.php as well even you have already used that code on function.php or somewhere else except header.php
global $options;
foreach ($options as $value) {
if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] ); }
}
I solved this issue like this, even I know this is not a good idea.