Hide featured image on single event pages

Home Forums Calendar Products Events Calendar PRO Hide featured image on single event pages

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #497708
    justinposey
    Participant

    I would like for the featured images to show in the “photo view” of my calendar, but when someone clicks on an event and goes to that event page, I would like for the featured image to be hidden.

    #499158
    Casey
    Participant

    justinposey,
    Thanks for getting in touch! In order to do this, you’ll need to perform a template override ( review our themer’s guide to learn how to do template overrides ) on ‘plugins/the-events-calendar/views/single-event.php’ and remove the line that looks like this on line 51:


    <?php echo tribe_event_featured_image($event_id, 'full', false); ?>

    Give that a shot and let me know if it does the trick. Thanks! πŸ™‚

    -Casey-

    #666248
    Casey
    Participant

    I just wanted to follow up and see if you’re all set here or if you still have further questions. Just let me know if you have further questions or if I should go ahead and close out this thread. Thanks! πŸ™‚

    -Casey-

    #666654
    justinposey
    Participant

    Works like a charm. Thanks Casey!

    #666891
    Casey
    Participant

    Great! Thanks for confirming that this got you sorted. Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.

    By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://m.tri.be/lo

    Thanks in advance. πŸ™‚

    Cheers,
    Casey

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Hide featured image on single event pages’ is closed to new replies.