Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #465206

    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

    #465231

    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

    #465316

    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

    #465364

    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

    #465564

    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

    #465671

    Hi,

    Can you please create us a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #466235

    Hi Josue,

    TY vm

    #466326

    Check it now.

    Regards,
    Josue

    #466805

    Ciao Josue!
    TY very much !

    Regards

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘About Ajax option’ is closed to new replies.