Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #180753

    Hi,
    I have searched everywhere in this forum and tried many tweaks but did not find any thing. I want to open the portfolio link into a new window, any idea how I can do so?

    I guess it is somewhere here :

    avia-shortcode / portfolio.php

    $output .= "<h3 class='grid-entry-title entry-title' $markup><a href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>";

    Thanks in advance for your help

    PS: I have Enfold previous version as I have problem with upgrade

    #181193

    Hi oliviad!

    Yes, just replace the code line you mentioned in your post with

    
    $output .= "<h3 class='grid-entry-title entry-title' $markup><a target='_blank' href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>";
    

    Best regards,
    Peter

    #187152

    Hi, Thanks for your answer but it does not work… any idea how to fix this? Thanks

    #187153

    Hi have this code :

    $output .= "<div data-ajax-id='{$the_id}' class=' grid-entry flex_column isotope-item all_sort {$style_class} {$post_class} {$sort_class} {$grid} {$extraClass}'>";
    				$output .= "<div class='main_color inner-entry'>";
    				$output .= "<a target='_blank'href='{$link}' data-rel='grid-".avia_post_grid::$grid."' class='grid-image' title='".esc_attr(strip_tags($title))."'>".get_the_post_thumbnail( $the_id, $image_size )."</a>";
    				$output .= !empty($title) || !empty($excerpt) ? "<div class='grid-content'><div class='avia-arrow'></div>" : '';
    				$output .= !empty($title) ? "<h3 class='grid-entry-title'><a target='_blank'href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>": '';
    				$output .= !empty($excerpt) ? "<div class='grid-entry-excerpt'>".$excerpt."</div>" : '';
    				$output .= !empty($title) || !empty($excerpt) ? "</div>" : '';
    				$output .= "</div>";
    				$output .= "</div>";
    #187154

    and here is the url : http://goo.gl/lryXbr
    Thanks for your help

    #187156

    Hi,

    I fixed the problem with this plugin : http://wordpress.org/plugins/open-in-new-window-plugin/

    Please ignore my previous message. Thanks ;)

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Help! Open portfolio link in a new window’ is closed to new replies.