{"id":18774655,"date":"2026-01-05T09:38:32","date_gmt":"2026-01-05T09:38:32","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/customizing-woocommerce-shop-page\/"},"modified":"2026-01-05T09:38:32","modified_gmt":"2026-01-05T09:38:32","slug":"customizing-woocommerce-shop-page","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/customizing-woocommerce-shop-page\/","title":{"rendered":"Customizing WooCommerce Shop Page"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">We want the shop page to display exactly 4 products from each category in a row. So basically one category per horizontal row going down the page. I&#8217;ve tried editing the loop in archive-product.php and using pre_get_posts filters, but it didn&#8217;t work\u2014it either shows all products or breaks the layout.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What hooks\/filters or code snippets can I use to achieve this? Do you know somewhere I can find information on this?<\/p>\n","protected":false},"template":"","class_list":["post-18774655","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18774655","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18774655\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18774655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}