Input Field – upload

Input Field – upload

You can use the upload input field to allow users to select single images. See the below example about how you can use the upload input field.
ExampleCopy to Clipboardarray(

'type' => 'upload',

'heading' => esc_attr__( 'Background Image', 'fusion-builder' ),

'description' => esc_attr__( 'Add a short description for the field.', 'fusion-builder' ),

'param_name' => 'background_image',

'value' => '',

)​x 1array(2​3  'type'        => 'upload',4​5  'heading'     => esc_attr__( 'Background Image', 'fusion-builder' ),6​7  'description' => esc_attr__( 'Add a short description for the field.', 'fusion-builder' ),8​9  'param_name'  => 'background_image',10​11  'value'       => '',12​13)Parameters type
( string ) input type. heading
( string ) Setting title. description
( string ) Short description about the setting field. param_name
 ( string ) Attribute name to be used in the shortcode. value
( string ) Default value as image url.

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註