{"id":676,"date":"2019-02-17T11:34:42","date_gmt":"2019-02-17T06:04:42","guid":{"rendered":"https:\/\/imageattributespro.com\/?p=676"},"modified":"2023-04-24T21:43:40","modified_gmt":"2023-04-24T16:13:40","slug":"copy-image-attributes-media-library-to-posts","status":"publish","type":"post","link":"https:\/\/imageattributespro.com\/copy-image-attributes-media-library-to-posts\/","title":{"rendered":"Copy Image Title and Alt Text From Media Library to Posts"},"content":{"rendered":"\n

Say you have a website where you have manually updated the image attributes of some of the images in the media library. Now you want to copy them to the posts (or products) where the images are used.<\/p>\n\n\n\n

If you haven’t noticed already, updating image attributes in the media library does not update them in the posts automatically. WordPress also stores a copy of the image attributes in the post or product HTML.<\/p>\n\n\n\n

If you are not sure what that means, please read: Understanding How WordPress Store Image Attributes<\/a><\/p>\n\n\n\n

Luckily, Image Attributes Pro<\/a> can help you with this and copy image attributes (alt text and image title for now) from the media library to all posts (and products<\/a> and other post types) in bulk.<\/p>\n\n\n\n

Copy Image Attributes From Media Library To Posts In Bulk<\/h2>\n\n\n\n

Image Attributes Pro version 4.3<\/code> and later ships with a custom attribute tag<\/a> %copymedialibrary%<\/code>. This tag can be used as custom attribute as you can see in the screenshot below.<\/p>\n\n\n\n

\"Copy<\/figure>\n\n\n\n

To copy image attributes to posts:<\/strong><\/p>\n\n\n\n