PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 1.1.4
ShopBuilder – WooCommerce Builder For Elementor v1.1.4
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/elementor-canvas.php +48 -52 2.1.111.1.4 View file →
@@ -1,52 +1,48 @@
1 -<?php
2 -
3 -use Elementor\Utils;
4 -use RadiusTheme\SB\Helpers\BuilderFns;
5 -use RadiusTheme\SB\Helpers\Fns;
6 -
7 -if ( ! defined( 'ABSPATH' ) ) {
8 - exit; // Exit if accessed directly.
9 -}
10 -
11 -do_action( 'rtsb/builder/before/header' );
12 -
13 -?>
14 -<!DOCTYPE html>
15 -<html <?php language_attributes(); ?>>
16 -<head>
17 - <meta charset="<?php bloginfo( 'charset' ); ?>">
18 - <?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
19 - <title><?php echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></title>
20 - <?php endif; ?>
21 - <?php wp_head(); ?>
22 - <?php
23 - // Keep the following line after `wp_head()` call, to ensure it's not overridden by another templates.
24 - Utils::print_unescaped_internal_string( Utils::get_meta_viewport( 'canvas' ) );
25 - ?>
26 -</head>
27 -<body <?php body_class(); ?>>
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 ) ); ?>">
36 - <?php
37 - do_action( 'rtsb/builder/template/before/content' );
38 - 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 - the_content();
41 - } else {
42 - do_action( 'rtsb/builder/template/main/content' );
43 - }
44 - do_action( 'rtsb/builder/template/after/content' );
45 - ?>
46 - </div>
47 - <?php
48 - do_action( 'rtsb/builder/before/footer' );
49 - wp_footer();
50 - ?>
51 - </body>
52 -</html>
1 +<?php
2 +
3 +use Elementor\Utils;
4 +use RadiusTheme\SB\Helpers\BuilderFns;
5 +use RadiusTheme\SB\Helpers\Fns;
6 +
7 +if ( ! defined( 'ABSPATH' ) ) {
8 + exit; // Exit if accessed directly.
9 +}
10 +
11 +do_action( 'rtsb/builder/before/header' );
12 +
13 +?>
14 +<!DOCTYPE html>
15 +<html <?php language_attributes(); ?>>
16 +<head>
17 + <meta charset="<?php bloginfo( 'charset' ); ?>">
18 + <?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
19 + <title><?php echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></title>
20 + <?php endif; ?>
21 + <?php wp_head(); ?>
22 + <?php
23 + // Keep the following line after `wp_head()` call, to ensure it's not overridden by another templates.
24 + Utils::print_unescaped_internal_string( Utils::get_meta_viewport( 'canvas' ) );
25 + ?>
26 +</head>
27 +<body <?php body_class(); ?>>
28 + <?php
29 + Elementor\Modules\PageTemplates\Module::body_open();
30 + $parent_class = apply_filters( 'rtsb/builder/wrapper/parent_class', [] );
31 + ?>
32 + <div id="rtsb-builder-content" class="rtsb-builder-content content-invisible <?php echo esc_attr( implode( ' ', $parent_class ) ); ?>">
33 + <?php
34 + do_action( 'rtsb/builder/template/before/content' );
35 + if ( is_singular( BuilderFns::$post_type_tb ) && 'elementor' === Fns::page_edit_with( get_the_ID() ) ) {
36 + \Elementor\Plugin::$instance->modules_manager->get_modules( 'page-templates' )->print_content();
37 + } else {
38 + do_action( 'rtsb/builder/template/main/content' );
39 + }
40 + do_action( 'rtsb/builder/template/after/content' );
41 + ?>
42 + </div>
43 + <?php
44 + do_action( 'rtsb/builder/before/footer' );
45 + wp_footer();
46 + ?>
47 + </body>
48 +</html>