Tagged: blog post, new window
Hi!
I will put a target blank to the single post thumbnail for my Blog in Grid Layout and also a target blank for the Title of the Blog posts…
Please help me to figure out where i must put target=”_blank”
Thank you so much
Open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodespostslider.php and replace
$output .= $thumbnail ? "<a href='{$link}' data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : "";
with
$output .= $thumbnail ? "<a target='_blank' href='{$link}' data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : "";
and
$permalink = '<div class="read-more-link"><a href="'.get_permalink($the_id).'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow"> →</span></a></div>';
with
$permalink = '<div class="read-more-link"><a target="_blank" href="'.get_permalink($the_id).'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow"> →</span></a></div>';