• Resolved Tii

    (@tii)


    Hello,

    On the image widget, I see that it is possible to make a dynamic link, I was trying to find if it’s possible to add a custom field as a link.

    My custom field is an id to a media file so it is technically possible for the image widget to retrieve it.

    I have been looking for documentation but I could not find anything related to the Dynamic option in widget.

    Could you tell me if it’s possible or point me to the documentation?

Viewing 1 replies (of 1 total)
  • Thread Starter Tii

    (@tii)

    I found the solution following this documentation : https://developers.elementor.com/dynamic-tags/

    which indicates

    For URL, Image, Media and Gallery controls, you need to extend Elementor\Core\DynamicTags\Data_Tag instead.
    There are many types of controls you can add to your widget to make it easier to configure. We have a separate section with a full list of available controls.

Viewing 1 replies (of 1 total)

The topic ‘Add Custom Fields Dynamic Link’ is closed to new replies.