Here's one way to use SVGs dynamically using Bricks Builder and ACF. The SVGs are stored in your WordPress Media library. In ACF you use the file field to select the SVG. Then you are able to style the SVG as you like in the builder.
Пікірлер: 3
@kwsim539Ай бұрын
When you created the file field in ACF, was the field set to field ID or file URL?
@andrew_schaeffer13 күн бұрын
Return value was set to "File array". Is that what you were asking?
@kwsim53912 күн бұрын
@@andrew_schaeffer I missed the selection when you were opening the field group's properties, which answers my question. However, this raises another question. Typically the field for a single image would either be a File ID or URL. So why would you have it set as an array, seeing as how it is only one image and not a group of images like a gallery of images?