• Resolved kalbers

    (@kalbers)


    Hi. I having an issue getting the Collection names to show. It is a public group, with a closed membership. Zotpress is returning the items from collections correctly, but it is not printing the Collection IDs. It does not seem to be a style issue, as h3.zp-Collection-Header is nowhere in the source code for the page. This is happening using shortcodes with any parameters, even just [zotpress].

    I’d link the page, but it’s a test site that is restricted by IP address. I’m happy to provide any additional information.

    https://ww.wp.xz.cn/plugins/zotpress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Katie

    (@kseaborn)

    Is it the names or IDs or both? Do you have the title attribute set to yes/true? I might need to see a screen shot to be sure I understand what’s going on. Feel free to contact me: http://katieseaborn.com/contact

    Thread Starter kalbers

    (@kalbers)

    Sorry, I meant to say that it’s not printing the collection names. Referencing this section in the FAQ:

    I don’t want collection names to display above my citations. How do I get rid of them?
    In your stylesheet, add the following line: h3.zp-Collection-Header { display: none; } By the way, almost every Zotpress element has either an ID or class (or both) that can be selectively styled with CSS.

    I took that to mean that Collection names would be at the top of each Collection; eg that if I did [zotpress collection=”2H7UVDMZ”] I would get a header with Collection Name and then a list beneath it of the citations belonging to that collection. But nowhere in the source code is <h3.zp-Collection-Header>My Collection Name</h3>.

    I did try [zotpress collection=”2H7UVDMZ” title=”yes”], but that grouped the items in the collection by year with the year in an <h3> which had no class assigned to it.

    Screenshot here.

    Or full page code here.

    Plugin Author Katie

    (@kseaborn)

    I looked into this — this is an artefact from older version of Zotpress and no longer applies because of the way collections are now being displayed.

    I’m going to overhaul the way the “title” attribute works, soon … as you discovered, it forces a descending sort by year, displaying the year, which is very limited.

    For now, I recommend manually writing the title above shortcodes per collection.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Collection Names’ is closed to new replies.