правки test1
This commit is contained in:
33
wp-content/themes/twentytwentyfour/page-shop.php
Normal file
33
wp-content/themes/twentytwentyfour/page-shop.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* Shop template with shared test1 header/footer.
|
||||
*
|
||||
* @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-shop-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' );
|
||||
?>
|
||||
|
||||
<main class="site-main" role="main">
|
||||
<div class="container">
|
||||
<?php woocommerce_content(); ?>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php require get_theme_file_path( 'template-parts/test1-shared-footer.php' ); ?>
|
||||
<?php wp_footer(); ?>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user