WordPress.org

Ready to get started?Download WordPress

Forums

Zotpress
[resolved] combine collections in shortcode display? (6 posts)

  1. doctorproctor
    Member
    Posted 3 years ago #

    I'm curious whether anyone has found a way to do a Boolean "or" in the shortcode to combine Zotero collections? I'd like to reference more than one collection ID to display items from multiple collections on a page.

    Many thanks,

    Jim

  2. Katie
    Member
    Plugin Author

    Posted 3 years ago #

    You can always use multiple shortcode calls. e.g. [Zotpress collection="one"] and then [Zotpress collection="two"].

  3. doctorproctor
    Member
    Posted 3 years ago #

    Thank you. I can imagine generating two separate lists via two shortcode calls, one following the next, but what I was hoping for was a way to combine two collections into one list.

    Regards,

    Jim

  4. Katie
    Member
    Plugin Author

    Posted 3 years ago #

    Hmm ... I don't think this would be hard to implement, you would just enter a list of collections for the parameter in the shortcode, e.g. collection="collection1,collection2". I'll see about adding it in the next version.

  5. doctorproctor
    Member
    Posted 3 years ago #

    Thank you! That would be great.

    Jim

  6. Katie
    Member
    Plugin Author

    Posted 3 years ago #

    Confirming it'll be in the next release, as will lists of items.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags