Great. thanks Madhusudan. It’s now working fine. all the giving the given solutions from you was good. thank you so much for your time. currently I am trying to integrate woocommerce with the theme but i guess it’s not working so much on the product’s page. these were the codes i picked from the documentation page of the woocommerce to place in the functions file of the theme. they are not working still. however, i figured the functions.php file of the theme doesn’t have any php close tag. I don’t know whether that’s the reason the woocommerce integration is not working.
remove_action( ‘woocommerce_before_main_content’, ‘woocommerce_output_content_wrapper’, 10);
remove_action( ‘woocommerce_after_main_content’, ‘woocommerce_output_content_wrapper_end’, 10);
Then hook in your own functions to display the wrappers your theme requires:
add_action(‘woocommerce_before_main_content’, ‘my_theme_wrapper_start’, 10);
add_action(‘woocommerce_after_main_content’, ‘my_theme_wrapper_end’, 10);
function my_theme_wrapper_start() {
echo ‘<section id=”main”>’;
}
function my_theme_wrapper_end() {
echo ‘</section>’;
}
I will go over to the woocommerce side to put this question up. was only wondering since you know much about the bizlight theme, you may have encountered people that have faced similar problems with wordpress integration before? or may have a link to a similar resolved issue. Anyway, I am really much grateful for the help you have given me on this.I will mark this forum resolved – but you can still share any ideas on my current woocommerce integration issue if you have any answers. Thank you.