PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.5
ShopBuilder – WooCommerce Builder For Elementor v3.2.5
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | page-templates/builder-template.php +25 -21 2.1.63.2.5 View file →
@@ -15,31 +15,35 @@
15 15
16 16 do_action( 'rtsb/builder/before/header' );
17 17
18 18 if ( Fns::check_is_block_theme() ) { ?>
19 - <!doctype html>
20 - <html <?php language_attributes(); ?>>
21 - <head>
22 - <meta charset="<?php bloginfo( 'charset' ); ?>">
23 - <?php wp_head(); ?>
24 - </head>
25 - <body <?php body_class(); ?>>
26 - <?php wp_body_open(); ?>
27 - <div class="wp-site-blocks">
28 - <?php
29 - echo do_blocks( '<!-- wp:template-part {"slug":"header","theme":"' . esc_attr( rtsb()->current_theme ) . '","tagName":"header","className":"site-header"} /-->' );
19 + <!doctype html>
20 + <html <?php language_attributes(); ?>>
21 + <head>
22 + <meta charset="<?php bloginfo( 'charset' ); ?>">
23 + <?php wp_head(); ?>
24 + </head>
25 + <body <?php body_class(); ?>>
26 + <?php wp_body_open(); ?>
27 + <div class="wp-site-blocks">
28 + <?php
29 + Fns::print_html( do_blocks( '<!-- wp:template-part {"slug":"header","theme":"' . esc_attr( rtsb()->current_theme ) . '","tagName":"header","className":"site-header"} /-->' ), true );
30 30 } else {
31 - get_header( 'shop' );
31 + get_header( 'shop' );
32 32 }
33 33
34 +$parent_class = apply_filters( 'rtsb/builder/wrapper/parent_class', [] );
35 +$type = apply_filters( 'rtsb/builder/set/current/page/type', '' ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
34 36
35 -$parent_class = apply_filters( 'rtsb/builder/wrapper/parent_class', [] );
37 +do_action( 'rtsb/builder/after/header' );
38 +if ( Fns::content_invisible() ) {
39 + $parent_class[] = 'content-invisible';
40 +}
36 41 ?>
37 -<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 ) ); ?>">
38 43 <?php
39 44 do_action( 'rtsb/builder/template/before/content' );
40 45 if ( is_singular( BuilderFns::$post_type_tb ) && 'elementor' === Fns::page_edit_with( get_the_ID() ) ) {
41 - // \Elementor\Plugin::$instance->modules_manager->get_modules( 'page-templates' )->print_content();
42 46 the_content();
43 47 } else {
44 48 do_action( 'rtsb/builder/template/main/content' );
45 49 }
@@ -49,12 +53,12 @@
49 53 <?php
50 54 do_action( 'rtsb/builder/before/footer' );
51 55
52 56 if ( Fns::check_is_block_theme() ) {
53 - echo do_blocks( '<!-- wp:template-part {"slug":"footer","theme":"' . esc_attr( rtsb()->current_theme ) . '","tagName":"footer","className":"site-footer"} /-->' );
54 - echo '</div>';
55 - wp_footer();
56 - echo '</body>';
57 - echo '</html>';
57 + Fns::print_html( do_blocks( '<!-- wp:template-part {"slug":"footer","theme":"' . esc_attr( rtsb()->current_theme ) . '","tagName":"footer","className":"site-footer"} /-->' ), true );
58 + echo '</div>';
59 + wp_footer();
60 + echo '</body>';
61 + echo '</html>';
58 62 } else {
59 - get_footer( 'shop' );
63 + get_footer( 'shop' );
60 64 }