Ready to get started?Download WordPress


All-in-One Event Calendar
How to Open Link in New Window / New Tab? (3 posts)

  1. alvbayu
    Posted 1 month ago #


    How to make links in the calendar (month view) open a single event page in new tab / in new window.
    I would like a new separated window opened when a user clicks an event title.

    I'd appreciate if someone could help me out with this. Please refer me to the file name that should be edited, and perhaps also how to edit it. Thanks!


  2. Jashan
    Plugin Author

    Posted 1 month ago #


    Month view is controlled by file:

    Edit this file to make changes, and make sure you clear cache from plugin folder to reflect changes.

    Take care

  3. alvbayu
    Posted 1 month ago #

    Hello Jashan

    Thanks for the reply.

    Unfortunately, I tried to change:

    <a href="{{ event.get_runtime( 'instance_permalink' ) | e('html_attr') }}"

    To following line:

    <a target="_blank" href="{{ event.get_runtime( 'instance_permalink' ) | e('html_attr') }}"

    But it does not make any change.
    Links (in month-view page) is still opened in same window.
    (I have cleared the plugin cache folder too)

    I'm new to this .twig things.
    Could you help me a little bit more by pointing me to a more detailed solution please?

    Thanks again!


You must log in to post.

About this Plugin

About this Topic