Display EXIF Data on WordPress Gallery Post Image

In this post I will talk about how to display EXIF data for an image in a WordPress post or native gallery.

In order to do this you need to modify your sites theme.

First start by addign the below function to your themes function.php file.

Then add the following to your style.css

And lastly you need to add the function you created above to your image.php file. This may be the most difficult part. Depending on your theme, you need to find a space for the EXIF table to live on the image page. You will also need to play with the style.css entry you added to make it look correctly on your site.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>