wordpress the7 WooCommerce 设置每页产品数量

找到主体的functions.php文件添加一下代码到文件中

 

add_filter( ‘loop_shop_per_page’, create_function( ‘$cols’, ‘return 24;’ ), 20 );

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/wp/260001.html

(0)
上一篇 2022年5月23日 09:33
下一篇 2022年5月23日 09:37

相关推荐

发表回复

登录后才能评论