-
AuthorPosts
-
October 25, 2013 at 5:48 pm #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
October 27, 2013 at 11:52 am #181193Hi 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,
PeterNovember 12, 2013 at 9:11 am #187152Hi, Thanks for your answer but it does not work… any idea how to fix this? Thanks
November 12, 2013 at 9:20 am #187153Hi 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>";
November 12, 2013 at 9:21 am #187154and here is the url : http://goo.gl/lryXbr
Thanks for your helpNovember 12, 2013 at 9:24 am #187156Hi,
I fixed the problem with this plugin : http://wordpress.org/plugins/open-in-new-window-plugin/
Please ignore my previous message. Thanks ;)
-
AuthorPosts
- The topic ‘Help! Open portfolio link in a new window’ is closed to new replies.