| @@ -25,19 +25,20 @@ | ||
| 25 | 25 | ?> |
| 26 | 26 | </head> |
| 27 | 27 | <body <?php body_class(); ?>> |
| 28 | 28 | <?php |
| 29 | - Elementor\Modules\PageTemplates\Module::body_open(); | |
| 30 | - $parent_class = apply_filters( 'rtsb/builder/wrapper/parent_class', [] ); | |
| 31 | - $type = apply_filters( 'rtsb/builder/set/current/page/type', '' ); | |
| 32 | - | |
| 33 | - do_action( 'rtsb/builder/after/header' ); | |
| 34 | - ?> | |
| 35 | - <div id="rtsb-builder-content" class="rtsb-builder-content content-invisible <?php echo esc_attr( implode( ' ', $parent_class ) ); ?>"> | |
| 29 | + wp_body_open(); | |
| 30 | + $parent_class = apply_filters( 'rtsb/builder/wrapper/parent_class', [] ); | |
| 31 | + $type = apply_filters( 'rtsb/builder/set/current/page/type', '' ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited | |
| 32 | + do_action( 'rtsb/builder/after/header' ); | |
| 33 | + if ( Fns::content_invisible() ) { | |
| 34 | + $parent_class[] = 'content-invisible'; | |
| 35 | + } | |
| 36 | + ?> | |
| 37 | + <div id="rtsb-builder-content" class="rtsb-builder-content <?php echo esc_attr( implode( ' ', $parent_class ) ); ?>"> | |
| 36 | 38 | <?php |
| 37 | 39 | do_action( 'rtsb/builder/template/before/content' ); |
| 38 | 40 | if ( is_singular( BuilderFns::$post_type_tb ) && 'elementor' === Fns::page_edit_with( get_the_ID() ) ) { |
| 39 | - // \Elementor\Plugin::$instance->modules_manager->get_modules( 'page-templates' )->print_content(); | |
| 40 | 41 | the_content(); |
| 41 | 42 | } else { |
| 42 | 43 | do_action( 'rtsb/builder/template/main/content' ); |
| 43 | 44 | } |