Upload option type (Layout Builder)
-
Topic
-
Hi there,
i’d like help, I have a problem developping a new builder element with an image uploader.
I have an upload type in my element :
array(
‘id’ => ‘sloganimage’,
‘name’ => __( ‘Setup Image Slogan’, TB_GETTEXT_DOMAIN),
‘desc’ => __( ‘Select your image’, TB_GETTEXT_DOMAIN),
‘type’ => ‘upload’
),it works fine, the problem appear when I add another element in my layout… The first element works fine, but when I upload an image in the second one, the image is uploaded to the first one…
Indeed, the two elements have the same ID in the form… Don’t know how to deal with it.
Someone may help please ?
Thanks guys !
- The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.