Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function edit_et_divi_output_content_wrapper_end() {
- $default_sidebar_class = is_rtl() ? 'et_left_sidebar' : 'et_right_sidebar';
- echo '</div> <!-- #left-area -->';
- if (
- ( is_product() && 'et_full_width_page' !== get_post_meta( get_the_ID(), '_et_pb_page_layout', true ) )
- ||
- ( ( is_shop() || is_product_category() || is_product_tag() ) && 'et_full_width_page' !== et_get_option( 'divi_shop_page_sidebar', $default_sidebar_class ) )
- ) {
- woocommerce_get_sidebar();
- }
- echo '
- </div> <!-- #content-area -->
- </div> <!-- .container -->
- </div> <!-- #main-content -->';
- }
- add_action( 'woocommerce_after_main_content', 'edit_et_divi_output_content_wrapper_end', 15 );
Add Comment
Please, Sign In to add comment