每个产品摘要后,如何在WooCommerce上添加单独的html代码

这个问题已经在这里有了答案:

单个产品汇总后, 如何在WooCommerce上添加html代码(2个答案)

4个月前关闭。

如何为单个产品添加单个HTML代码?

这是屏幕截图:https://i.stack.imgur.com/QeGGw.png

问候戈兰拉比


#1


你可以尝试以下方法:

function html_below_product_tabs() {
    echo 'Content you want to place';
}   

add_action('woocommerce_product_after_tabs', 'html_below_product_tabs');

来源:

https://www.srcmini02.com/62622.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_42215.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?