• Resolved matt_price

    (@matt_price)


    I am hoping to switch from delicious to zotero for my class’s resource archive this year and I think I ought to be able to facilitate this by using zotpress. If you look at any page on last year’s course site, you can see a delicious feed at the bottom:
    http://2010.hackinghistory.ca/

    I got this by writing a couple of helper functions for the delicious plugin, so I could take the citations it was already generating and use them in the template; the one helpful modification I made was to limit the citations that get loaded to those that have any of the tags that the wordpress post or page is tagged with.

    I’d like to do the same thing with zotpress, but the plugin looks pretty sophisticated. Any hints on how I might get started?

    As a sidenote, I’d also appreciate help getting the citations to display in a more compressed format that nonetheless includes a URL or link somewhere. One of the few things that pleases me about my delicious setup is the amount of information that’s crammed into it…

    [apologies to katie for cross-posting, my new wordpress password just came through]

Viewing 1 replies (of 1 total)
  • Plugin Author Katie

    (@kseaborn)

    Sorry for the supreme delay in response.

    You can use the “tag” attribute in the Zotpress shortcode, but first you need to grab an array of the post’s tags … I would write this into the theme code, and note somewhere that it’s contingent on the Zotpress plugin. I’d create a function that grabs a post’s tag array, iterates through the list, and creates a list string of tags, e.g. “tag,tag,tag.” Then use the do_shortcode WP function. Make sense?

    Compressed format? What do you mean? You can change the citation format. Or change the style using CSS.

Viewing 1 replies (of 1 total)
  • The topic ‘zotpress in a template?’ is closed to new replies.