get-the-image icon indicating copy to clipboard operation
get-the-image copied to clipboard

image_attr don't add attr

Open EwaMakowska opened this issue 6 years ago • 0 comments

I try to add atribut to my image:

          get_the_image( array(
                    'meta_key' => 'Large',
                    'size' => 'large-img',
                    'link_to_post' => false,
                    'image_attr' => array(
                        'data-pin-nopin' => 'true',
                      ),
                    ));

but there's no effect. My image still don't have data-pin-nopin: 'true'

EwaMakowska avatar May 31 '18 06:05 EwaMakowska