Photo view with custom field images

Home Forums Calendar Products Events Calendar PRO Photo view with custom field images

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #135523
    manifdart
    Participant

    Hello,
    I’m working on a site that uses custom fields to add the image for each page/article/event. What file should I edit so that I can grab the custom field image for each event?

    Thanks!

    #136519
    Barry
    Member

    Hi! I’d recommend reading through our Themer’s Guide in the first instance – the actual template that you might customize would vary, though, according to where you want the image to appear.

    Might featured images be an easier way to implement this?

    #147567
    manifdart
    Participant

    I read through the Themer’s Guide and couldn’t find the answer I was looking for. That’s why I posted this in the first place.

    What file should I edit ?

    #148145
    Barry
    Member

    The template used to render individual events in photo view is pro/photo/single-event.php and the line that pulls in the featured image is:

    <?php echo tribe_event_featured_image( null, 'medium' ); ?>

    Does that help?

    #686287
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Photo view with custom field images’ is closed to new replies.