我们正在寻找可视化的Composer短代码列表。请看图片,如何像“Text2”一样将内容放在标题下,就像自定义标题一样。
如何在标题下获得简短的描述--视觉作曲家
1 个回复
最合适的回答,由SO网友:PPS 整理而成
我下定决心了,
vc_map( array(
"name" => __( "xxxxxx" ),
"base" => "xxxxx",
"icon" => plugins_url(\'img/vc-icon.png\', __FILE__),
\'description\' => __( \'xxxxxxxx\', \'xxxxxxxxxx\' ),
"params" => array(
array(
\'type\' => \'dropdown\',
\'heading\' => __( \'Select xxxxxx\', \'xxxxxxxxxx\' ),
\'param_name\' => \'id\',
\'admin_label\' => true,
\'value\' => $xxxxcvx
),
),
) );
我实施了\'admin_label\' => true,
然后它工作得很好。。。。结束