From bf43603aad82bb3d5da618e8183b7cccfa3a47c0 Mon Sep 17 00:00:00 2001 From: "Anton.AE" Date: Sat, 4 Apr 2026 20:11:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20test1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index3.css | 2 +- wp-content/themes/twentytwentyfour/page-test1.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index3.css b/index3.css index f61e5556..afc78d98 100644 --- a/index3.css +++ b/index3.css @@ -672,7 +672,7 @@ } .catalog-grid { - grid-template-columns: repeat(5, minmax(0, 1fr)); + grid-template-columns: repeat(4, minmax(0, 1fr)); } .catalog-card { diff --git a/wp-content/themes/twentytwentyfour/page-test1.php b/wp-content/themes/twentytwentyfour/page-test1.php index f07090bc..5d473251 100644 --- a/wp-content/themes/twentytwentyfour/page-test1.php +++ b/wp-content/themes/twentytwentyfour/page-test1.php @@ -19,9 +19,9 @@ function twentytwentyfour_test1_catalog_markup() { $products = wc_get_products( array( 'status' => 'publish', - 'limit' => 3, - 'order' => 'ASC', - 'orderby'=> 'date', + 'limit' => 4, + 'order' => 'DESC', + 'orderby' => 'popularity', ) );