시각적 인 작곡가 attach_images를 사용하여 맞춤 이미지 슬라이더를 만들려고하지만 이미지 ID 배열에서 URL을 가져 오는 방법을 알아낼 수 없습니다. 도움이 될 것입니다.비주얼 작곡가 attach_images를 단축 코드로 사용하는 방법
위해서 var_dump ($ bg_images는) 문자열 (9) "19,6,1692는"
vc_map(array(
"name" => __("Fading Background Block", "farrat_vc"),
"base" => "block_background",
"class" => "",
"category" => __("Farrat Shortcodes", "farrat_vc"),
"as_parent" => array('except' => 'farrat_panel'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
"content_element" => true,
"show_settings_on_create" => true,
"is_container" => true,
'admin_enqueue_css' => array(get_template_directory_uri().'/wp-content/themes/unite/inc/css/gallery.css'),
"params" => array(
array(
"type" => "attach_images",
"heading" => __("Backgroud Images", "farrat_vc"),
"param_name" => "bg_images",
),
),
"js_view" => 'VcColumnView'
));
시도한 내용이나 돌아 오는 데이터를 표시하는 코드가 약간 포함되어 있으면 좋을 것입니다. 그것은 귀하의 상황에 대해보다 유용한 대답을 얻는데 도움이 될 수 있습니다. – cjbarth
@cjbarth VC_map을 추가했지만 단축 코드를 아직 완성하지 못했습니다. – Pam