Forums
Home / Plugin: Hot Random Image / Can the link open in a new tab?
(@floydthedog)
1 year, 9 months ago
Can the image link be set to open the link in a new tab?
(@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 esc_html( $link ); ?>">
<a href="<?php echo esc_html( $link ); ?>" target="_blank">
Regards,MilosHot Themes