2026-02-28 10:19:10 +01:00
|
|
|
{#
|
|
|
|
|
# Content Wrapper Start (Bootstrap 5 Override)
|
|
|
|
|
#
|
|
|
|
|
# Replaces WooCommerce's theme-specific wrapper divs with Bootstrap 5 layout.
|
|
|
|
|
# When the parent theme wraps the page (_theme_wrapped), this outputs nothing
|
2026-02-28 12:29:20 +01:00
|
|
|
# since wc-base.html.twig already provides the container.
|
2026-02-28 10:19:10 +01:00
|
|
|
#
|
|
|
|
|
# WooCommerce PHP equivalent: global/wrapper-start.php
|
|
|
|
|
#
|
|
|
|
|
# @package WcBootstrap
|
|
|
|
|
# @since 0.1.0
|
|
|
|
|
#}
|
|
|
|
|
|
|
|
|
|
{% set _wrapped = _theme_wrapped is defined and _theme_wrapped %}
|
|
|
|
|
|
|
|
|
|
{% if not _wrapped %}
|
|
|
|
|
<div class="container my-4">
|
|
|
|
|
<div id="primary" class="content-area">
|
|
|
|
|
<main id="main" class="site-main" role="main">
|
|
|
|
|
{% endif %}
|