Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29210

    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

    #140042

    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">  &rarr;</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">  &rarr;</span></a></div>';

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Open Blog post in new windwo – grid Layout’ is closed to new replies.