Adding image to excerpt in Events List view

Home Forums Calendar Products Events Calendar PRO Adding image to excerpt in Events List view

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #58969
    tmbond
    Participant

    I would like to use the space to the left of the excerpt to add an image for each excerpt. My plan is have it look like the listings here (including a full utilization of the space to the left of the excerpt): https://generalassemb.ly/education?format=classes-workshops
    I have spent 2 days searching and doing trial and error with duplicate files I created in my theme folder. Nothing works.

    And by the way, this 2011 tutorial (How To Show Featured Thumbnails In The Next Event Widget)
    https://theeventscalendar.com/how-to-show-featured-thumbnails-in-the-next-events-widget/ is no longer applicable. For example, it refers to a file in this path: plugins/events-calendar-pro/views/widget-featured-display.php
    There is no such file in the download I have. Any help will be greatly appreciated.

    #59038
    snorton
    Participant

    tmbond: have you tried setting a featured image for your event post? The list view will display the image, but only if you specify it as the featured image.

    #59231
    tmbond
    Participant

    @snorton. Thanks for your response. But the problem is this: I do not see an upload image text field for featured image in my Add Event, the way I see it in the video primer (see #5 here: https://theeventscalendar.com/support/documentation/events-calendar-pro-new-user-primer/#custom).
    Was this removed from 3.05?

    #59233
    tmbond
    Participant

    I added the following code to the functions.php in my child theme and didn’t see the upload image feature. I then added it to the functions.php in my main theme and saw it. But still, the main theme isn’t where I should be making changes, so I don’t lose the code through future updates.

    add_theme_support( ‘post-thumbnails’, array( ‘tribe_events’ ) );

    #59235
    tmbond
    Participant

    @snorton. Well, looks like my problem is solved. I removed it from the functions.php in the main theme and put it again in the functions.php in the child theme and it’s now showing. Thanks.

    #59380
    tmbond
    Participant

    Actually, I spoke too soon about problem being solved. Still have the problem of making the featured image upload link to display. It displays when placed in the parent theme but does not when placed in the child theme. Any ideas?

    #60486
    tmbond
    Participant

    I have solved my problem.

    #60560
    Leah
    Member

    Awesome! Glad to hear it.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Adding image to excerpt in Events List view’ is closed to new replies.