Remove the Featured Image from Single Event Page

Home Forums Ticket Products Event Tickets Plus Remove the Featured Image from Single Event Page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1398302
    Brad Brewer
    Participant

    We would like to remove the Featured Image from Single Event page. We need to do this because we want to show a different image in the post vs the one that shows on the Event Grid or Calendar.

    #1398761
    Jennifer
    Keymaster

    Hi Brad,

    Thanks for reaching out!

    You can remove the featured image in the the single event page by editing the template found at wp-content/plugins/the-events/calendar/src/views/single-event.php. You’ll want to copy it into your child theme for editing (by following these instructions), and then you can remove/comment out the following line in your copy:

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

    Let me know how that works!

    Thanks,

    Jennifer

    #1399004
    Brad Brewer
    Participant

    Thank you this worked perfectly.

    #1399225
    Jennifer
    Keymaster

    Perfect! I’ll go ahead and close out this thread, but please feel free to open up a new one if you have any further questions1

    #1413913
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Remove the Featured Image from Single Event Page’ is closed to new replies.