[woocommerce]homepage テンプレートの編集 [woocommerce]
Topページにhomepageテンプレートを使用しています。
つまり、
appearance>customizing>static front pageで、固定ページ(homepageテンプレートを使用)を指定。
Categoryとか、new in 、recommendとかありますが、要らない物があった場合の編集方法です。
homepage.phpでは編集できません。
Storefront: storefront-template-hooks.phpを開いて、
new in が要らなければ
* @see storefront_recent_products()なので、その下の
add_action( 'homepage', 'storefront_recent_products', 30 ); を削除したら消えました。
正しい方法なのか分りませんが、hooksってそういう感じのようです。点在して分りにくいような、便利なような複雑な心境です。
コメント 0