Support » Plugins » Include link for Bibtex citation in zotpress shortcode

  • Resolved tmeche87



    I am using the zotpress shortcode within a template file to display citations within a collection as well as a download link for the publication. The shortcode looks like this:

    <?php echo do_shortcode( '[zotpress collection="JUUEUA7U" download="yes"]' ); ?>

    However, I also need to include a link to download a bibtex citation. The code I was using to get the bibtex citation looks like this:

    <a class="zp-CiteRIS" title="Cite in Bibtex Format" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','']);" href='<?php echo ?>'>(Bibtex)</a>

    “itemid” is the zotero item ID of the publication.
    However, this does not work because the zotpress shortcode displays all of the publications within the collection and the (Bibtex) link only displays itself after all of the publications have been listed. I need to reference each item ID within a collection and have a link for each publication which gives a Bibtex citation download.

    Does anyone know if this is possible?

    Thanks for any and all help!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Include link for Bibtex citation in zotpress shortcode’ is closed to new replies.