Add download link programmatically
-
Hi from Germany,
first of all: Thanks for your work with this plugin. I literally tried each and every lightbox plugin to work with my slightly outdated theme and yours was the only hassle free one. Really really appreciated.
With that said, I wonder if it could be possible to add the image download link programmatically from my theme’s public js. What I try to achieve is to let only a certain user group directly download the images on click. Of course I am fully aware that the images are clearly visible in the source and could be loaded anyway if you are a bit on the techy side, but I just wanted to make life a bit easier for my band mates ??
I could give the current user’s role to my JS via wp_localize_script(). Any help?
THX in advance.The page I need help with: [log in to see the link]
- The topic ‘Add download link programmatically’ is closed to new replies.