• Resolved j0nmills

    (@j0nmills)


    Would it be possible to add some code to enable exif data to be displayed for all images using a certain post-format (not type)?

    I don’t want to auto display exif for all posts, but it would be great if I could auto add it to any posts I select as a “photo” format.

    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author kristarella

    (@kristarella)

    Hey!

    Yes, it’s possible. You could add the PHP in your theme, in single.php, or content.php like this:

    <?php
    	if (function_exists('exifography_display_exif') && 'photo' == get_post_format())
    		echo exifography_display_exif();
    ?>

    I’m not sure if “photo” is the right term for your post format, it might be “image”.

Viewing 1 replies (of 1 total)
  • The topic ‘Auto add exif to post-format?’ is closed to new replies.