diff --git a/.history/wp-content/themes/twentytwentyfour/page-checkout_20260402145155.php b/.history/wp-content/themes/twentytwentyfour/page-checkout_20260402145155.php new file mode 100644 index 00000000..faa7f036 --- /dev/null +++ b/.history/wp-content/themes/twentytwentyfour/page-checkout_20260402145155.php @@ -0,0 +1,145 @@ + +> + + + + + +> + +
+
+ + +
+
+ + +
+
+
+
+ + + +
+
+ +

+

+ +
+ + + + +
+ +
+ +
+
+ +
+
+
+
+
+
+
+
+

+

+
+
+
+ + + + diff --git a/wp-content/themes/twentytwentyfour/page-cart.php b/wp-content/themes/twentytwentyfour/page-cart.php index 0ecc7353..aeba7b7f 100644 --- a/wp-content/themes/twentytwentyfour/page-cart.php +++ b/wp-content/themes/twentytwentyfour/page-cart.php @@ -15,38 +15,11 @@ > -
-
- - -
-
- +
@@ -107,52 +80,7 @@
- + diff --git a/wp-content/themes/twentytwentyfour/page-checkout.php b/wp-content/themes/twentytwentyfour/page-checkout.php index 25cf0f52..77cd4c46 100644 --- a/wp-content/themes/twentytwentyfour/page-checkout.php +++ b/wp-content/themes/twentytwentyfour/page-checkout.php @@ -15,38 +15,11 @@ > -
-
- - -
-
- +
@@ -74,7 +47,7 @@
@@ -91,55 +64,7 @@
- + diff --git a/wp-content/themes/twentytwentyfour/page-test1.php b/wp-content/themes/twentytwentyfour/page-test1.php index df38c77e..f07090bc 100644 --- a/wp-content/themes/twentytwentyfour/page-test1.php +++ b/wp-content/themes/twentytwentyfour/page-test1.php @@ -88,6 +88,15 @@ $landing_html = file_exists( $landing_file ) ? file_get_contents( $landing_file if ( $landing_html ) { $catalog_markup = twentytwentyfour_test1_catalog_markup(); + ob_start(); + $test1_header_mode = 'cart'; + require get_theme_file_path( 'template-parts/test1-shared-header.php' ); + $shared_header_markup = (string) ob_get_clean(); + + ob_start(); + require get_theme_file_path( 'template-parts/test1-shared-footer.php' ); + $shared_footer_markup = (string) ob_get_clean(); + if ( '' !== $catalog_markup ) { $catalog_static_markup = <<<'HTML'
@@ -155,6 +164,9 @@ HTML; $landing_html = str_replace( $catalog_static_markup, $catalog_markup, $landing_html ); } + + $landing_html = preg_replace( '/