refactor
This commit is contained in:
@@ -6,7 +6,16 @@
|
||||
* @package Twenty_Twenty_Four
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
$test1_header_args = array(
|
||||
'body_class' => 'test1-shared-shell test1-shared-blog-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 );
|
||||
?>
|
||||
|
||||
<?php
|
||||
$show_blog_posts_image = water_delivery_get_option( 'show_blog_posts_image' );
|
||||
@@ -45,4 +54,4 @@ get_header(); ?>
|
||||
|
||||
<?php
|
||||
get_sidebar();
|
||||
get_footer();
|
||||
get_footer( 'test1' );
|
||||
|
||||
Reference in New Issue
Block a user