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:
@@ -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">
|
||||
@@ -37,7 +31,7 @@
|
||||
<h3><?php esc_html_e( 'Контактные данные', 'twentytwentyfour' ); ?></h3>
|
||||
<ul class="contact-list">
|
||||
<li><strong><?php esc_html_e( 'Телефон:', 'twentytwentyfour' ); ?></strong> <a href="tel:+79117748923">+7 (911) 774-89-23</a></li>
|
||||
<li><strong><?php esc_html_e( 'Адрес:', 'twentytwentyfour' ); ?></strong> <?php esc_html_e( 'г. Севастополь, ул. Генерала Острякова, 92', 'twentytwentyfour' ); ?></li>
|
||||
<li><strong><?php esc_html_e( 'Адрес:', 'twentytwentyfour' ); ?></strong> <?php esc_html_e( 'г. Севастополь, ул. Шевченко, 13', 'twentytwentyfour' ); ?></li>
|
||||
<li><strong><?php esc_html_e( 'График:', 'twentytwentyfour' ); ?></strong> <?php esc_html_e( 'ежедневно с 8:00 до 21:00', 'twentytwentyfour' ); ?></li>
|
||||
<li><strong><?php esc_html_e( 'E-mail:', 'twentytwentyfour' ); ?></strong> <a href="mailto:sygorenkomisha17@gmail.com">sygorenkomisha17@gmail.com</a></li>
|
||||
</ul>
|
||||
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user