• Resolved upandrunningdesign

    (@upandrunningdesign)


    I would like to have my pdf’s open in a new tab/window. I tried adding target=”_blank” but that didn’t work. Here is the shortcode that I am using. Thanks for the assistance!

    [mla_gallery attachment_category='2016' post_mime_type=application/pdf target="_blank" size=icon mla_caption="{+title+}" link=file columns=4]

Viewing 1 replies (of 1 total)
  • Plugin Author David Lingren

    (@dglingren)

    You are very close, but the relevant parameter has a slightly different name:

    mla_target – adds an HTML “target” attribute to the hyperlink for each gallery item; see below.

    I am marking this topic resolved, but give that a try and let me know if you have any problems with it. Thanks for your interest in the plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Open in a New tab/window’ is closed to new replies.