Closed feastdesignco closed 4 years ago
Thanks for your contribution.
This project is being archived (background in #118). Instagram filed a trademark complaint which saw the plugin removed from WordPress.org and then proceeded to block it from accessing instagram.com. All pul requests are being closed and it will soon be in a read only state.
usage:
add_filter( 'wpiw_img_attribs', 'my_pinterest_nopin' ); function my_pinterest_nopin( $attributes ){ $attributes .= 'data-pin-nopin="true"'; return $attributes; }
We don't want visitors accidentally pinning the image loaded from Instagram in the widget - it's better if they pin the original. Remove the WPIW images from being pinnable.
See: https://www.wptasty.com/blog/nopin-images
https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes