Add extra fields to the wordpress featured image entry

I am wondering if this is possible? I would like to add some extra fields to the featured image and have them output to the html on the site. So right now there are fields for alt text, caption, etc. I would like to be able to add an iput box for data-pin-description and have it output to the image like data-pin-description=”PIN DESCRIPTION GOES HERE”

so it would output into the featured image like img src=”smiley.gif” data-pin-description=”PIN DESCRIPTION GOES HERE” alt=”Smiley face” height=”42″ width=”42″>

Is there a way to do this?

THANKS

Read more here: Add extra fields to the wordpress featured image entry

Leave a Reply

Your email address will not be published. Required fields are marked *