Adding a custom data-attribute to images
-
Hi there,
I’m trying to add an option to portfolio images.
Under the Description / Categories / Format / Url, I’d like to add a custom option where the admin can put a text inside of it (so I can retrieve it via JS)I was looking into Hooks documentation but I didn’t find anything helpful. (Tried to check here but it was too complex for me GitHub – VP)
I tried to work with the ‘vpf_extend_portfolio_data_attributes’ but I didn’t succeed to use itWould you have any idea on how to do it ?
Have a good day !
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding a custom data-attribute to images’ is closed to new replies.