当我尝试验证我的页面时,我收到警告http://validator.w3.org:
科缺乏标题.考虑使用h2-h6元素为所有部分添加标识标题.
我的代码如下:
<section id="slider-wrapper-new">
<div class="slider-container-new">
// some code..
</div>
</section>
Run Code Online (Sandbox Code Playgroud)
如何删除此错误?我是否必须在标题内添加h1- h6标签?
html semantic-markup w3c-validation html-validation sections
如何将自定义字段添加到产品类别?我已经为产品添加了自定义字段,但我找不到任何扩展,它提供了向产品类别添加自定义字段的功能.
请帮忙
我怎样才能获得woocommerce_free_shipping_min_amount在woocommerce中获得免费送货所需的最低订单金额(在管理面板中设置woocommerce - >设置 - >送货 - >免费送货 - >最低订单金额)?
我想在前端页面显示此价格
我在woocommerce的添加产品页面中添加了自定义文本框字段.现在我想要它(必修).我通过传递参数"required"=> true来尝试它.但它不起作用.请看下面的代码
woocommerce_wp_text_input(
array(
'id' => 'special_price',
'label' => __( 'Wholesaler Price *', 'woocommerce' ),
'placeholder' => '',
'desc_tip' => 'true',
'required' => 'true',
'description' => __( 'Enter wholesaler price here.', 'woocommerce' )
)
);
Run Code Online (Sandbox Code Playgroud)
但它不是强制使用文本框.请问任何人都可以告诉我该怎么做?