# shopbuilder/3.2.6/page-templates/elementor-canvas.php

ShopBuilder – WooCommerce Builder For Elementor, version 3.2.6. 54 lines.

- Page: https://pluginprobe.com/plugins/shopbuilder/3.2.6/code/page-templates/elementor-canvas.php
- Raw: https://pluginprobe.com/plugins/shopbuilder/3.2.6/raw/page-templates/elementor-canvas.php
- Modified: 2026-04-12T06:42:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/shopbuilder/3.2.6/code/page-templates/elementor-canvas.php#L10-L20`.

```php
<?php

use Elementor\Utils;
use RadiusTheme\SB\Helpers\BuilderFns;
use RadiusTheme\SB\Helpers\Fns;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

do_action( 'rtsb/builder/before/header' );

?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
		<title><?php echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></title>
	<?php endif; ?>
	<?php wp_head(); ?>
	<?php
	// Keep the following line after `wp_head()` call, to ensure it's not overridden by another templates.
	Utils::print_unescaped_internal_string( Utils::get_meta_viewport( 'canvas' ) );
	?>
</head>
<body <?php body_class(); ?>>
	<?php
		wp_body_open();
		$parent_class = apply_filters( 'rtsb/builder/wrapper/parent_class', [] );
		$type         = apply_filters( 'rtsb/builder/set/current/page/type', '' ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
		do_action( 'rtsb/builder/after/header' );
	if ( Fns::content_invisible() ) {
		$parent_class[] = 'content-invisible';
	}
	?>
		<div id="rtsb-builder-content" class="rtsb-builder-content <?php echo esc_attr( implode( ' ', $parent_class ) ); ?>">
			<?php
			do_action( 'rtsb/builder/template/before/content' );
			if ( is_singular( BuilderFns::$post_type_tb ) && 'elementor' === Fns::page_edit_with( get_the_ID() ) ) {
				the_content();
			} else {
				do_action( 'rtsb/builder/template/main/content' );
			}
			do_action( 'rtsb/builder/template/after/content' );
			?>
		</div>
	<?php
	do_action( 'rtsb/builder/before/footer' );
	wp_footer();
	?>
	</body>
</html>

```
