Task_12281 (#1)

Co-authored-by: User A0264400 <a0264400@jarl.from.sh>
Reviewed-on: #1
Co-authored-by: Anton.AE <ab.an.ev@yandex.ru>
Co-committed-by: Anton.AE <ab.an.ev@yandex.ru>
This commit is contained in:
2026-07-05 16:07:04 +03:00
committed by Антон
parent 50f3a8e626
commit 3e42863ef5
2878 changed files with 59059 additions and 181273 deletions

View File

@@ -16,16 +16,16 @@ if ( '' === trim( wp_strip_all_tags( $blog_intro ) ) ) {
$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';
?><!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-blog-page' ); ?>>
<?php wp_body_open(); ?>
<?php require get_theme_file_path( 'template-parts/test1-shared-header.php' ); ?>
$test1_header_args = array(
'body_class' => 'test1-shared-shell test1-shared-blog-page',
'header_action_url' => $test1_header_action_url,
'header_action_label' => $test1_header_action_label,
'header_mode' => $test1_header_mode,
);
get_header( 'test1', $test1_header_args );
?>
<main class="site-main" role="main">
<section class="section blog-hero" aria-labelledby="blog-page-title">
@@ -100,7 +100,5 @@ $test1_header_mode = 'link';
</section>
</main>
<?php require get_theme_file_path( 'template-parts/test1-shared-footer.php' ); ?>
<?php wp_footer(); ?>
</body>
</html>
<?php
get_footer( 'test1' );