Support » Plugin: MF Gig Calendar » Force links to open in new window?

  • Hi – I really like the plugin – thanks! We usually link the Location field to the venue’s website, and we’d like these links to always open in a new tab. Is there any way to force this? We’ve been manually setting the new tab option when we create the link, which I think might be the only way, but I thought I’d ask and see if anyone had a better solution. I’m reasonably comfortable editing PHP code if I know where to look, but didn’t see anything obvious.

Viewing 1 replies (of 1 total)
  • Plugin Author Matthew Fries


    Hey. Thank for using the plugin. You could hack the PHP, but you’d lose that in the next update. You can do this pretty easily with jQuery (javascript). Something like this should work:

    $(".mfgigcal .details a").attr("target","_blank");

Viewing 1 replies (of 1 total)
  • The topic ‘Force links to open in new window?’ is closed to new replies.