Feature Image Override

Home Forums Calendar Products Events Calendar PRO Feature Image Override

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #989507

    Using Featured Images in Events

    Hi there,

    So oif my images are quite large, so when set as Featured Image, they take up a lot of space. I found this code, but I am unsure where to put ir?

    1
    the_post_thumbnail( 'medium' );

    with respect,

    Richard

    #989621
    Brian
    Member

    Hi Richard,

    I can help out here.

    We have a themer’s guide to help you move and edit templates in your theme.

    https://theeventscalendar.com/knowledgebase/themers-guide/

    Following the guide you want to move and edit this file:

    the-events-calendar\src\views\single-event.php

    In that template you want to look for this coding around line 58:

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

    There you could just change full to medium if that is the size you would like to use.

    Let me know if you have any follow up questions.

    Thanks

    #989661

    Hi Brian,

    That’s awesome – thanks!

    with gratitude,

    Richard

    #989663
    Brian
    Member

    Great glad it helps.

    I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Feature Image Override’ is closed to new replies.