• Resolved anterotesis

    (@anterotesis)


    Has the latest update of Zotpress made the number of entries in a bibliography default to 25? This is what I have found with my bibliographies on https://statutes.org.uk
    and by checking the archive made on the Wayback Machine, it certainly wasn’t like that in March.

    Simple fix: make sure you set the limit to over 25, eg limit=”99″

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

    (@kseaborn)

    Hm, that’s odd. I wonder if it’s related to PHP 8 and the latest version/s of WordPress, which Zotpress isn’t quite ready for … a new release is coming soon, so please test and let us know if it’s still happening.

    I’m having the same, but opposite issue. We want to only show 5 or 10, but 25 are showing. The limit=”5″ code is not working. https://www.texasheartmedical.org/

    Noticed the same issue as @sfoggthi this week. I had a shortcode on the home page of one of the researchers I manage showing his latest five publications and it was suddenly loading more of his list of 230+ in batches of 5. (I removed the shortcode and made a copy of the code here: https://bsmoore.scrippsprofiles.ucsd.edu/pubs-limit-test/).

    We’re running Zotpress 7.3.2 on WordPress 6.1.1 on PHP 7.3.33 (for reasons) within X theme 9.1.4.

    I would not rule out an interaction with one of our other plugins that has been updated more recently, like Autoptimize or W3 Total Cache.

    We’ll have a better sense of what’s going on after we do our updates.

    Plugin Author Katie

    (@kseaborn)

    Hi all. Sorry to hear about the troubles but I can’t replicate it. Can you provide a few more details, such as example shortcodes? Here’s what I’ve tested (including reloading to check new vs. cached). I don’t use any caching plugins, so please try emptying those or turning them off and refreshing the Zotero account, too.

    Shortcode with under 50 items:

    [zotpress nick=”IECD” tag=”co-design” style=”american-antiquity” sortby=”author” order=”asc” target=”new”]

    Shortcode with over 50 items:

    [zotpress userid=”66010″ tag=”Gamification” style=”apa” sortby=”author” order=”asc” target=”new”]

    Shortcode with limit:

    [zotpress limit=”8″]

    After a couple of tests, it looks like the difference is whether the shortcode includes a parameter specifying a collection. If it doesn’t, it will just load the specified number, say 5.
    If the shortcode is:
    [zotpress collection="XXX" limit="5"]
    it will load 5 from that collection, then the gear will spin and load another 5, then another 5, etc. until it loads the entire collection.

    Plugin Author Katie

    (@kseaborn)

    @jcdillon Please check out 7.3.3. I think I fixed it!

    @kseaborn Yes, that seemed to solve it. Thank you !

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Defaulting to 25 entries?’ is closed to new replies.