39 lines
1.0 KiB
PHP
39 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* Cart template with shared test1 header/footer and default Woo content.
|
|
*
|
|
* @package Twenty_Twenty_Four
|
|
*/
|
|
|
|
?><!DOCTYPE html>
|
|
<html <?php language_attributes(); ?>>
|
|
<head>
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<?php wp_head(); ?>
|
|
</head>
|
|
<body <?php body_class( 'test1-shared-shell test1-shared-cart-page' ); ?>>
|
|
<?php wp_body_open(); ?>
|
|
<?php
|
|
$test1_header_action_url = function_exists( 'wc_get_checkout_url' ) ? wc_get_checkout_url() : '';
|
|
$test1_header_action_label = __( 'Оформление', 'twentytwentyfour' );
|
|
$test1_header_mode = 'link';
|
|
require get_theme_file_path( 'template-parts/test1-shared-header.php' );
|
|
?>
|
|
|
|
<main class="site-main" role="main">
|
|
<div class="container checkout-content-container">
|
|
<?php
|
|
while ( have_posts() ) :
|
|
the_post();
|
|
the_content();
|
|
endwhile;
|
|
?>
|
|
</div>
|
|
</main>
|
|
|
|
<?php require get_theme_file_path( 'template-parts/test1-shared-footer.php' ); ?>
|
|
<?php wp_footer(); ?>
|
|
</body>
|
|
</html>
|