Hi guys ,
I set a gallery masonry , which opened in an external link .
Im using portfolio entries and I would like that the connection is opened in a new window.
There is the possibility to open the title in a link different from that set for the photo?
You can see here http://limodo.org/masonry-women/ in the last entry named “skirt”
TY
Hi!
Not sure if i understood what you want but you can set set a custom link in each Portfolio Item and that will replace the default linking.
Regards,
Josue
Hi Jouse,
You almost understand ! I asked if the link set in the portfolio entries can open in a new window.
Now “custum link” opens in the same window.
TY in advance
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
function modify_portfolio_link($link) {
$link[0] .= "target='_blank'";
return $link;
}
add_filter('avf_portfolio_custom_image_container', 'modify_portfolio_link', 10, 2);
Cheers!
Josue
Hi Josue,
Thank You but when I go in apparence-editor and “Select Theme to Edit” I have not “Child Theme”
I have try this in enfold theme (this is my theme) and too in Choen but is not functional.
Ty very much if you have a solution
Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
Josue
Hi Josue,
TY vm
Check it now.
Regards,
Josue
Ciao Josue!
TY very much !
Regards