2015-07-11 52 views
1

這是我第一次製作自定義Wordpress Visual Composer元素。到目前爲止,一切工作正常,除了一兩件事:Visual Composer後端編輯器自定義元素

當添加到後臺編輯元素不好看(參見圖):

enter image description here

,用戶必須輸入3個參數:標題,添加圖像,鏈接

正如像素可見顯示標題圖片ID和怪異的鏈接。

我的問題是:我怎麼可以自定義什麼是在後臺編輯渲染?

回答

1

實測溶液:

˚Farray( "type" => "attach_image", "holder" => "img", <!-- set in what tag to display image "class" => "naujaImg", <!-- set css class "heading" => __("Nuotrauka", 'element'), "param_name"=> "image", "value" => "", "description" => __("Upload Image", 'element') )