Site icon Hip-Hop Website Design and Development

How do I add nopin="nopin" to the default avatar?

I observed that if somebody clicks on my Pinterest share button on a weblog submit, a number of unrelated pictures present up. I used to be in a position to make use of nopin="nopin" per Pinterest’s documentation on most of those pictures to wash most of it up.

Nevertheless, I’ve a customized avatar set in my features.php…

//* Add new default gravatar to Settings » Dialogue web page */
add_filter( 'avatar_defaults', 'wpb_new_gravatar' );
perform wpb_new_gravatar ($avatar_defaults) {
$myavatar = 'https://www.fakedomain.com/wp-content/uploads/2017/03/PiggyBank.jpg';
$avatar_defaults[$myavatar] = "Default Gravatar";
return $avatar_defaults;
}

If somebody will get that avatar in a remark, then the picture reveals up as a selection on a Pinterest share. How do I add the nopin="nopin" attribute to this avatar picture?

I discovered the same submit discussing this challenge, however it’s means over my head and appears a bit totally different as a result of he is utilizing an array (lol, additionally over my head).

Any assistance is significantly appreciated!