Month View Multiple Images

Home Forums Ticket Products Event Tickets Plus Month View Multiple Images

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1144434
    June Wolfe
    Participant

    I have spent hours scouring your forums to find out how to have more than one featured image appear in month view. I have found the code to show one image for one event, but as you can see we have 2-3 events per day occassionally. My customer who paid for this plugin would really like this feature and I cannot find the code to achieve this. I see from this link: https://theeventscalendar.com/support/forums/topic/display-more-than-one-featured-image-on-a-specific-date-in-monthly-view/

    that someone on your team helped a customer achieve this, but there is no link to the final php solution. Please help, I have one very unhappy customer.

    https://vinovangoghfl.com/eventcalendar

    #1144645
    George
    Participant

    Hey @Sandra,

    Thanks for reaching out.

    Getting all events in the Month View to show their featured images is possible but it requires a template modification. This means you take a template file from within The Events Calendar, duplicate it in your theme, and then modify that theme version of the template file.

    If that sounds confusing, don’t worry — the process is much simpler than it sounds and is covered in-depth in our Themer’s Guide here ? https://theeventscalendar.com/knowledgebase/themers-guide/

    Please read that Themer’s Guide thoroughly and consult it with any questions about how to make custom templates.


    With the knowledge of making custom templates in mind, what’s required for each event to have its featured image showing is to find this file within The Events Calendar:


    /the-events-calendar/src/views/month/single-event.php

    Copy and paste that file into your theme at the correct location, which should be:


    /[your-theme]/tribe-events/month/single-event.php

    Here is the original version of that file: https://git.io/vKFXd

    Here is the modified version of that file that will add the featured image: https://git.io/vKF1q

    Make the single-event.php file in your theme look like the modified version of the file I shared above, and you should be all set.

    Best of luck with your customizing! 😀
    George

    #1144844
    June Wolfe
    Participant

    thank you sooo much!

    #1145256
    George
    Participant

    😀

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Month View Multiple Images’ is closed to new replies.