Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image_attr don't add attr #25

Open
EwaMakowska opened this issue May 31, 2018 · 0 comments
Open

image_attr don't add attr #25

EwaMakowska opened this issue May 31, 2018 · 0 comments

Comments

@EwaMakowska
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant