Support » Plugin: The Events Calendar » Link in new window, featured image on event

  • Resolved marierebelle

    (@marierebelle)


    Hi there,
    I apologize if I am asking a question that has been asked before. I searched your support but couldn’t find an answer.

    First question:
    I now put links on the different events, and all those links lead to external website. Is there a way to open those links in a new window?

    Second question:
    I add featured images to all events, and can see those in the main calendar https://blogable.club/events/ when hovering over the event, but is it possible to see the featured image on a single event too?

    Looking forward to your answer, and thank you in advance.

    Kind regards,
    Marie Rebelle

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support iammarta

    (@iammarta)

    Hello @marierebelle,

    Thanks for reaching out!

    1) Please add the following code snippet in functions.php file of your theme / child theme:
    https://gist.github.com/cliffordp/3584b8aee70cde484700
    Make sure to exclude the first line, the one with opening PHP tag (<?php), and copy and paste the rest. This snippet will force Event, Organizer and Venue website links, available on single event page, to open in a new tab.

    2) The featured image should be displayed on a single event page at the top of the post, before the content.

    Best regards,
    Marta

    • This reply was modified 3 months, 3 weeks ago by iammarta.
    Thread Starter marierebelle

    (@marierebelle)

    Thank you so much for your help, Marta. This worked perfectly!

    Plugin Support iammarta

    (@iammarta)

    Hi @marierebelle ,

    You are always welcome.

    I’ll go ahead and mark this one as Resolved for now, but feel free to open up a new thread if anything else comes up.

    Have a wonderful day!

    Best regards,
    Marta

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.