johannes.jarolim.com/yapb-forum

Full Version: EXIF info in the pages oft he photo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Guest

Hi everybody!
Thanx so much for your work...Very nice plugin!!!
I've a question for you. I'd like to insert the exif info of the photos, only in the page where they are big (probably the content pages...)... where do i've to put the code below?

# <?php if (yapb_is_photoblog_post()): ?>
# <h3>EXIF</h3>
# <ul>
# <?php
#
# yapb_exif(
# 'li-exif', // CSS Class for the LIs
# ': ', // Separator between EXIF token name and value
# '<strong>', // HTML before EXIF token name
# '</strong>', // HTML after EXIF token name
# '<i>', // HTML before EXIF token value
# '</i>' // HTML after EXIF token value
# )
# ?>
# </ul>
# <?php endif ?>
Depends on the theme you are using...

most likely there will be single.php file...place the code in 'the loop' for the post/photo you are displaying

that would be my best guess

Cheers
Reference URL's