I read about using hooks with woocommerce, and that would be the method of choice. So my question is, would this work in the functions.php:
remove_action( ‘tempera_before_main_content’, ‘tempera_output_content_wrapper’, 10);
remove_action( ‘tempera_after_main_content’, ‘tempera_output_content_wrapper_end’, 10);
add_action(‘tempera_before_main_content’, ‘my_theme_wrapper_start’, 10);
add_action(‘tempera_after_main_content’, ‘my_theme_wrapper_end’, 10);
function my_theme_wrapper_start() {
echo ‘<section id=”main”>’;
}
function my_theme_wrapper_end() {
echo ‘</section>’;
}
Or did i forget something?
Hence i’m not a skilled coder!