This commit is contained in:
2026-04-18 20:18:31 +03:00
parent d9d56e4fe9
commit 7b24f58aeb
13 changed files with 178 additions and 399 deletions

View File

@@ -5,21 +5,15 @@
* @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-contacts-page' ); ?>>
<?php wp_body_open(); ?>
<?php
$test1_header_action_url = function_exists( 'wc_get_cart_url' ) ? wc_get_cart_url() : home_url( '/cart/' );
$test1_header_action_label = __( 'Корзина', 'twentytwentyfour' );
$test1_header_mode = 'link';
require get_theme_file_path( 'template-parts/test1-shared-header.php' );
?>
$test1_header_args = array(
'body_class' => 'test1-shared-shell test1-shared-contacts-page',
'header_action_url' => function_exists( 'wc_get_cart_url' ) ? wc_get_cart_url() : home_url( '/cart/' ),
'header_action_label' => __( 'Корзина', 'twentytwentyfour' ),
'header_mode' => 'link',
);
get_header( 'test1', $test1_header_args );
?>
<main class="site-main" role="main">
<section class="section" id="contacts">
@@ -82,7 +76,5 @@
</section>
</main>
<?php require get_theme_file_path( 'template-parts/test1-shared-footer.php' ); ?>
<?php wp_footer(); ?>
</body>
</html>
<?php
get_footer( 'test1' );