Best way to set a couple of custom fallback images

Home Forums Calendar Products Events Calendar PRO Best way to set a couple of custom fallback images

  • This topic has 4 replies, 2 voices, and was last updated 9 years ago by Franz Sauerstein.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1272571
    Franz Sauerstein
    Participant

    Hi!
    I want to set a custom of fallback images instead of this image: wp-content/plugins/events-calendar-pro/src/resources/images/tribe-related-events-placeholder.png.

    What would be the best way to do that?

    Thank you very much for your answer!

    #1273127
    Trisha
    Member

    Hello, Franz!

    Thank you for using The Events Calendar! I can help with this ?

    The best way to do this is to override the template for that block of code.

    Make a copy of the related-events.php template. It’s located at ‘events-pro/src/views/related-events.php

    From there follow the specific instructions in the Themer’s Guide for your particular template. You can find the Themer’s Guide here: https://theeventscalendar.com/knowledgebase/themers-guide/

    There are also instructions at the very top of the file you’re moving.

    Once you have the file moved you can replace the code for the default image on Line 31 of the template file.

    Does this help answer your question? Let me know how it goes!

    Cheers,
    Trisha

    #1275674
    Franz Sauerstein
    Participant

    Worked perfectly fine. Thank you!

    Mit besten Grüßen

    Franz Sauerstein

    *P.S.: Ich rufe meine E-Mails nur einmal täglich ab. Sorgen Sie sich also
    bitte nicht, wenn Sie nicht sofort eine Antwort erhalten. :-)*

    Franz Sauerstein
    Xciting Webdesign

    Wir unterstützen mittelständische Unternehmen, durch Online – Kanäle mehr
    Gewinn zu generieren.

    mail: [email protected]
    tel.: 0176 630 89 857

    Lernen Sie mit diesem kostenlosen 5-teiligen E-Mail-Kurs, wie Sie mehr
    Traffic und Umsatz online generieren

    .

    #1276163
    Trisha
    Member

    Hi, Franz!

    So glad to hear this worked out for you! Thanks for letting me know.

    I’m going to go ahead and close this out but, as always, if you have any further questions feel free tor each out. I’m happy to help!

    Cheers,
    Trisha

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Best way to set a couple of custom fallback images’ is closed to new replies.