• Resolved stefanpaudler

    (@stefanpaudler)


    Would it be possible to add the option to open the target URL in a new tab?
    I tried adding target=_blank, but couldn’t get it to work. A tick box to say open link targets in new tab would be ideal.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hot Themes

    (@hotwptemplates)

    Hello,

    You can edit the plugin and change this line

    $html .= '<a href="'.$hotrandomimage_params[4].'">';

    to this

    $html .= '<a href="'.$hotrandomimage_params[4].'" target="_blank">';

    and this line

    <a href="<?php echo $link; ?>">

    to this:

    <a href="<?php echo $link; ?>" target="_blank">

    Best regards,
    Milos

    Thread Starter stefanpaudler

    (@stefanpaudler)

    Amazing, thank you!

    Plugin Author Hot Themes

    (@hotwptemplates)

    You are welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Link in new tab’ is closed to new replies.