esc_htm-6ren">
gpt4 book ai didi

wordpress - textarea_html 不适用于 Visual Composer

转载 作者:行者123 更新时间:2023-12-01 09:46:05 25 4
gpt4 key购买 nike

我使用 WordPress 4.9.2 和 Visual Composer 5.1我想在 VC 上添加文本编辑器,但它不起作用

vc_map( array(
"name" => esc_html__("SNS Test",'themeles'),
"base" => "sns_test",
"icon" => "sns_icon_test",
"class" => "sns_test",
"category" => esc_html__("SNS Test",'themeles'),
"description" => esc_html__( "test ",'themeles' ),
"params" => array(
array(
"type" => "textarea_html",
"class" => "",
"heading" => esc_html__("Description",'snsanton'),
"param_name" => "product_excerpt",
"value" => "",
"description" => esc_html__("Custom the description for the
product.", 'snsanton'),
),
.....
));

文本不保存 HTML 工作不强或 I

最佳答案

它不起作用,因为您的参数名称需要是“content”。

The documentation says this :

Text area with default WordPress WYSIWYG Editor. Important: only one html textarea is permitted per shortcode and it should have "content" as a param_name

关于wordpress - textarea_html 不适用于 Visual Composer,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48524850/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com