• Resolved pgallina

    (@pgallina)


    Hallo,
    I installed your plugin a few days ago and, after discovering the ‘Shortcode Parameters’, I’m trying to setup it at best for my site.

    At the link https://www.gallinagiacinto.it/cultura/premio-cesare-pavese-azienda-gallina-giacinto/, you can see an example of the use of the plugin.

    The shortcode and parameters I used for the page above is:

    [portfolio terms=premio-cesare-pavese title=below thumb=thumbnail]

    Each thumbnail opens a specific page, whose link is inside the ‘Portfolio Setting’ widget (made available by your plugin) of the corresponding portfolio page, so I didn’t use the ‘link=page’ parameter (not necessary).

    And now the questions:
    1) since it is VERY important for me to open each portfolio page in a new window, could you insert this option inside the ‘Portfolio Setting’ widget or through a parameter (i.e. target=”_blank”)?
    2) Is there a way to make the title linkable (same as image)?

    Thank you very much, very powerful plugin.

    I suggest you to put the link to Documentation not only in FAQ, but in the home page of the repository too (https://www.ads-software.com/plugins/arconix-portfolio/).

    Bye, Pier

Viewing 1 replies (of 1 total)
  • Plugin Author John Gardner

    (@jgardner03)

    Hi Pier,

    Thank you for using my plugin and for the feedback. I have an update to the plugin on my plate, so I’ll add title hyperlinking to it as well.

    Regarding point 1, I generally follow the reasoning laid out here regarding “_blank” targeting. As such I won’t be adding the ability to set the target in my plugin. That said, if you’d like to set that targeting, it can be added via jQuery.

    copy /includes/js/arconix-portfolio.js to the root of your theme directory and on line 73 of that file (just before the closing brackets) add the following:

    jQuery( "ul.arconix-portfolio-grid a.portfolio-external" ).attr( 'target', '_blank' );

    That will add the target="_blank" attribute to all portfolio items that open an external link.

Viewing 1 replies (of 1 total)
  • The topic ‘Opening links in a new window’ is closed to new replies.