• I was wondering if we could get an option to open the URLs within ZotPress bibliographies in new tabs by default.

    Thanks!

Viewing 1 replies (of 1 total)
  • Mark

    (@codeispoetry)

    Which URLs? It looks like the links generated by urlwrap=title as well as the linked DOIs both already have target='_blank'. In the ZotPress code I can see a variable $zp_target_output that seems to take care of this.

    Only the download links do not behave like this by default and I agree it would be logical if they did.

    An ugly workaround for this is to add the required html in the file \zotpress\lib\shortcode.request.php. Ugly, because you should avoid directly editing plugins and any changes will be overwritten if there’s a plugin update.

Viewing 1 replies (of 1 total)
  • The topic ‘Open ZotPress citation URLs in new tab’ is closed to new replies.