| @@ -31,18 +31,19 @@ | ||
| 31 | 31 | get_header( 'shop' ); |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | $parent_class = apply_filters( 'rtsb/builder/wrapper/parent_class', [] ); |
| 35 | -$type = apply_filters( 'rtsb/builder/set/current/page/type', '' ); | |
| 35 | +$type = apply_filters( 'rtsb/builder/set/current/page/type', '' ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited | |
| 36 | 36 | |
| 37 | 37 | do_action( 'rtsb/builder/after/header' ); |
| 38 | - | |
| 38 | +if ( Fns::content_invisible() ) { | |
| 39 | + $parent_class[] = 'content-invisible'; | |
| 40 | +} | |
| 39 | 41 | ?> |
| 40 | -<div id="rtsb-builder-content" class="rtsb-builder-content content-invisible <?php echo esc_attr( implode( ' ', $parent_class ) ); ?>"> | |
| 42 | +<div id="rtsb-builder-content" class="rtsb-builder-content <?php echo esc_attr( implode( ' ', $parent_class ) ); ?>"> | |
| 41 | 43 | <?php |
| 42 | 44 | do_action( 'rtsb/builder/template/before/content' ); |
| 43 | 45 | if ( is_singular( BuilderFns::$post_type_tb ) && 'elementor' === Fns::page_edit_with( get_the_ID() ) ) { |
| 44 | - // \Elementor\Plugin::$instance->modules_manager->get_modules( 'page-templates' )->print_content(); | |
| 45 | 46 | the_content(); |
| 46 | 47 | } else { |
| 47 | 48 | do_action( 'rtsb/builder/template/main/content' ); |
| 48 | 49 | } |