markup for WooCommerce shop page * * @since 1.2.3 */ add_action( 'woocommerce_before_main_content', 'bizznis_output_single_content_wrapper', 10 ); function bizznis_output_single_content_wrapper() { printf( '
', bizznis_attr( 'entry' ) ); } /** * End
markup for WooCommerce shop page * * @since 1.2.3 */ add_action( 'woocommerce_after_main_content', 'bizznis_output_single_content_wrapper_end', 10 ); function bizznis_output_single_content_wrapper_end() { echo ''; } /** * Displays single product loop * * Uses WooCommerce structure and contains all existing WooCommerce hooks * * Code based on WooCommercewoocommerce/woocommerce-template.php * * @since 1.0.0 */ add_action( 'bizznis_loop', 'bizznis_wc_single_product_loop' ); function bizznis_wc_single_product_loop() { do_action( 'woocommerce_before_main_content' ); ?>