如何在woocommerce中将评论移到产品描述下方? [英] How can review be moved below product description in woocommerce?
本文介绍了如何在woocommerce中将评论移到产品描述下方?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的问题与此非常相似WooCommerce - 将产品描述从标签移到摘要中
就我而言,我想移动评论标签并将其置于产品描述下方.
In my case, I want to move reviews tab and bring it below product description.
如何使用钩子来做到这一点?有没有办法使用/template 文件夹中的某个文件来执行此操作,该文件可以在子主题中覆盖?
How can this be done using hooks? Is there a way to do this using some file within /template folder which can be overridden in child theme?
推荐答案
使用 WooCommerce 功能从选项卡中删除评论后,您可以执行以下操作.
After removing the reviews from the tabs using WooCommerce functions you can do something like this.
add_action('woocommerce_after_single_product_summary', create_function('$args', 'call_user_func(\'comments_template\');'), 14);
干杯
这篇关于如何在woocommerce中将评论移到产品描述下方?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文